医学小透明

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  
    def append(self, *args, **kwargs): # real signature unknown
        """ Append object to the end of the list. 
        在原来值后追加"""
        pass

    def clear(self, *args, **kwargs): # real signature unknown
        """ Remove all items from list. """
        pass

    def copy(self, *args, **kwargs): # real signature unknown
        """ 浅拷贝,用新变量接
        Return a shallow copy of the list. """
        pass

    def count(self, *args, **kwargs): # real signature unknown
        """ Return number of occurrences of value. """
        pass

    def extend(self, *args, **kwargs): # real signature unknown
        """可迭代对象,将每一个元素作为新元素加入列表中(字符串每个字符作为新的元素加入列表中) Extend list by appending elements from the iterable. """
        pass

    def index(self, *args, **kwargs): # real signature unknown
        """
        Return first index of value.
        
        Raises ValueError if the value is not present.
        """
        pass

    def insert(self, *args, **kwargs): # real signature unknown
        """ 
        Insert object before index. 
        在指定索引位置插入元素
        index(位置,元素)
        """
        pass

    def pop(self, *args, **kwargs): # real signature unknown
        """
       
        Remove and return item at index (default last).
        用新变量接被弹出的元素,默认是最后一个元素
        
        Raises IndexError if list is empty or index is out of range.
        """
        pass

    def remove(self, *args, **kwargs): # real signature unknown
        """
        Remove first occurrence of value.
        
        Raises ValueError if the value is not present.
        """
        pass

    def reverse(self, *args, **kwargs): # real signature unknown
        """ Reverse *IN PLACE*. """
        pass

    def sort(self, *args, **kwargs): # real signature unknown
        """
        Sort the list in ascending order and return None.
        
        The sort is in-place (i.e. the list itself is modified) and stable (i.e. the
        order of two equal elements is maintained).
        
        If a key function is given, apply it once to each list item and sort them,
        ascending or descending, according to their function values.
        
        The reverse flag can be set to sort in descending order.
        """
        pass                   

 

posted on 2020-07-05 15:00  医学小透明  阅读(105)  评论(0编辑  收藏  举报