首页 > 代码库 > python之旅2

python之旅2

python基础

1整数

查看整数类型的方法

>>> a = 1>>> dir(a)[‘__abs__‘, ‘__add__‘, ‘__and__‘, ‘__class__‘, ‘__cmp__‘, ‘__coerce__‘, ‘__delattr__‘, ‘__div__‘, ‘__divmod__‘, ‘__doc__‘, ‘__float__‘, ‘__floordiv__‘, ‘__format__‘, ‘__getattribute__‘, ‘__getnewargs__‘, ‘__hash__‘, ‘__hex__‘, ‘__index__‘, ‘__init__‘, ‘__int__‘, ‘__invert__‘, ‘__long__‘, ‘__lshift__‘, ‘__mod__‘, ‘__mul__‘, ‘__neg__‘, ‘__new__‘, ‘__nonzero__‘, ‘__oct__‘, ‘__or__‘, ‘__pos__‘, ‘__pow__‘, ‘__radd__‘, ‘__rand__‘, ‘__rdiv__‘, ‘__rdivmod__‘, ‘__reduce__‘, ‘__reduce_ex__‘, ‘__repr__‘, ‘__rfloordiv__‘, ‘__rlshift__‘, ‘__rmod__‘, ‘__rmul__‘, ‘__ror__‘, ‘__rpow__‘, ‘__rrshift__‘, ‘__rshift__‘, ‘__rsub__‘, ‘__rtruediv__‘, ‘__rxor__‘, ‘__setattr__‘, ‘__sizeof__‘, ‘__str__‘, ‘__sub__‘, ‘__subclasshook__‘, ‘__truediv__‘, ‘__trunc__‘, ‘__xor__‘, ‘bit_length‘, ‘conjugate‘, ‘denominator‘, ‘imag‘, ‘numerator‘, ‘real‘]>>> type(a)<type ‘int‘>

 或者在pycharm里面,输入int,按住crtl,然后鼠标点击int查看其方法

class int(object):    """    int(x=0) -> int or long    int(x, base=10) -> int or long        Convert a number or string to an integer, or return 0 if no arguments    are given.  If x is floating point, the conversion truncates towards zero.    If x is outside the integer range, the function returns a long instead.        If x is not a number or if base is given, then x must be a string or    Unicode object representing an integer literal in the given base.  The    literal can be preceded by ‘+‘ or ‘-‘ and be surrounded by whitespace.    The base defaults to 10.  Valid bases are 0 and 2-36.  Base 0 means to    interpret the base from the string as an integer literal.    >>> int(‘0b100‘, base=0)    4    """    def bit_length(self): # real signature unknown; restored from __doc__        """        int.bit_length() -> int                Number of bits necessary to represent self in binary.        >>> bin(37)        ‘0b100101‘        >>> (37).bit_length()        6        """        return 0    def conjugate(self, *args, **kwargs): # real signature unknown        """ Returns self, the complex conjugate of any int. """        pass    def __abs__(self): # real signature unknown; restored from __doc__        """ x.__abs__() <==> abs(x) """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __and__(self, y): # real signature unknown; restored from __doc__        """ x.__and__(y) <==> x&y """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __coerce__(self, y): # real signature unknown; restored from __doc__        """ x.__coerce__(y) <==> coerce(x, y) """        pass    def __divmod__(self, y): # real signature unknown; restored from __doc__        """ x.__divmod__(y) <==> divmod(x, y) """        pass    def __div__(self, y): # real signature unknown; restored from __doc__        """ x.__div__(y) <==> x/y """        pass    def __float__(self): # real signature unknown; restored from __doc__        """ x.__float__() <==> float(x) """        pass    def __floordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__floordiv__(y) <==> x//y """        pass    def __format__(self, *args, **kwargs): # real signature unknown        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __hex__(self): # real signature unknown; restored from __doc__        """ x.__hex__() <==> hex(x) """        pass    def __index__(self): # real signature unknown; restored from __doc__        """ x[y:z] <==> x[y.__index__():z.__index__()] """        pass    def __init__(self, x, base=10): # known special case of int.__init__        """        int(x=0) -> int or long        int(x, base=10) -> int or long                Convert a number or string to an integer, or return 0 if no arguments        are given.  If x is floating point, the conversion truncates towards zero.        If x is outside the integer range, the function returns a long instead.                If x is not a number or if base is given, then x must be a string or        Unicode object representing an integer literal in the given base.  The        literal can be preceded by ‘+‘ or ‘-‘ and be surrounded by whitespace.        The base defaults to 10.  Valid bases are 0 and 2-36.  Base 0 means to        interpret the base from the string as an integer literal.        >>> int(‘0b100‘, base=0)        4        # (copied from class doc)        """        pass    def __int__(self): # real signature unknown; restored from __doc__        """ x.__int__() <==> int(x) """        pass    def __invert__(self): # real signature unknown; restored from __doc__        """ x.__invert__() <==> ~x """        pass    def __long__(self): # real signature unknown; restored from __doc__        """ x.__long__() <==> long(x) """        pass    def __lshift__(self, y): # real signature unknown; restored from __doc__        """ x.__lshift__(y) <==> x<<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, y): # real signature unknown; restored from __doc__        """ x.__mul__(y) <==> x*y """        pass    def __neg__(self): # real signature unknown; restored from __doc__        """ x.__neg__() <==> -x """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __nonzero__(self): # real signature unknown; restored from __doc__        """ x.__nonzero__() <==> x != 0 """        pass    def __oct__(self): # real signature unknown; restored from __doc__        """ x.__oct__() <==> oct(x) """        pass    def __or__(self, y): # real signature unknown; restored from __doc__        """ x.__or__(y) <==> x|y """        pass    def __pos__(self): # real signature unknown; restored from __doc__        """ x.__pos__() <==> +x """        pass    def __pow__(self, y, z=None): # real signature unknown; restored from __doc__        """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """        pass    def __radd__(self, y): # real signature unknown; restored from __doc__        """ x.__radd__(y) <==> y+x """        pass    def __rand__(self, y): # real signature unknown; restored from __doc__        """ x.__rand__(y) <==> y&x """        pass    def __rdivmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rdivmod__(y) <==> divmod(y, x) """        pass    def __rdiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rdiv__(y) <==> y/x """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rfloordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rfloordiv__(y) <==> y//x """        pass    def __rlshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rlshift__(y) <==> y<<x """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, y): # real signature unknown; restored from __doc__        """ x.__rmul__(y) <==> y*x """        pass    def __ror__(self, y): # real signature unknown; restored from __doc__        """ x.__ror__(y) <==> y|x """        pass    def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__        """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """        pass    def __rrshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rrshift__(y) <==> y>>x """        pass    def __rshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rshift__(y) <==> x>>y """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rtruediv__(self, y): # real signature unknown; restored from __doc__        """ x.__rtruediv__(y) <==> y/x """        pass    def __rxor__(self, y): # real signature unknown; restored from __doc__        """ x.__rxor__(y) <==> y^x """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __truediv__(self, y): # real signature unknown; restored from __doc__        """ x.__truediv__(y) <==> x/y """        pass    def __trunc__(self, *args, **kwargs): # real signature unknown        """ Truncating an Integral returns itself. """        pass    def __xor__(self, y): # real signature unknown; restored from __doc__        """ x.__xor__(y) <==> x^y """        pass    denominator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the denominator of a rational number in lowest terms"""    imag = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the imaginary part of a complex number"""    numerator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the numerator of a rational number in lowest terms"""    real = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the real part of a complex number"""class bool(int):    """    bool(x) -> bool        Returns True when the argument x is true, False otherwise.    The builtins True and False are the only two instances of the class bool.    The class bool is a subclass of the class int, and cannot be subclassed.    """    def __and__(self, y): # real signature unknown; restored from __doc__        """ x.__and__(y) <==> x&y """        pass    def __init__(self, x): # real signature unknown; restored from __doc__        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __or__(self, y): # real signature unknown; restored from __doc__        """ x.__or__(y) <==> x|y """        pass    def __rand__(self, y): # real signature unknown; restored from __doc__        """ x.__rand__(y) <==> y&x """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __ror__(self, y): # real signature unknown; restored from __doc__        """ x.__ror__(y) <==> y|x """        pass    def __rxor__(self, y): # real signature unknown; restored from __doc__        """ x.__rxor__(y) <==> y^x """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        pass    def __xor__(self, y): # real signature unknown; restored from __doc__        """ x.__xor__(y) <==> x^y """        passclass buffer(object):    """    buffer(object [, offset[, size]])        Create a new buffer object which references the given object.    The buffer will reference a slice of the target object from the    start of the object (or at the specified offset). The slice will    extend to the end of the target object (or with the specified size).    """    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __delitem__(self, y): # real signature unknown; restored from __doc__        """ x.__delitem__(y) <==> del x[y] """        pass    def __delslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__delslice__(i, j) <==> del x[i:j]                                      Use of negative indices is not supported.        """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __getslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__getslice__(i, j) <==> x[i:j]                                      Use of negative indices is not supported.        """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, p_object, offset=None, size=None): # real signature unknown; restored from __doc__        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        pass    def __setitem__(self, i, y): # real signature unknown; restored from __doc__        """ x.__setitem__(i, y) <==> x[i]=y """        pass    def __setslice__(self, i, j, y): # real signature unknown; restored from __doc__        """        x.__setslice__(i, j, y) <==> x[i:j]=y                                      Use  of negative indices is not supported.        """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        passclass bytearray(object):    """    bytearray(iterable_of_ints) -> bytearray.    bytearray(string, encoding[, errors]) -> bytearray.    bytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.    bytearray(memory_view) -> bytearray.        Construct an mutable bytearray object from:      - an iterable yielding integers in range(256)      - a text string encoded using the specified encoding      - a bytes or a bytearray object      - any object implementing the buffer API.        bytearray(int) -> bytearray.        Construct a zero-initialized bytearray of the given length.    """    def append(self, p_int): # real signature unknown; restored from __doc__        """        B.append(int) -> None                Append a single item to the end of B.        """        pass    def capitalize(self): # real signature unknown; restored from __doc__        """        B.capitalize() -> copy of B                Return a copy of B with only its first character capitalized (ASCII)        and the rest lower-cased.        """        pass    def center(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        B.center(width[, fillchar]) -> copy of B                Return B centered in a string of length width.  Padding is        done using the specified fill character (default is a space).        """        pass    def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        B.count(sub [,start [,end]]) -> int                Return the number of non-overlapping occurrences of subsection sub in        bytes B[start:end].  Optional arguments start and end are interpreted        as in slice notation.        """        return 0    def decode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__        """        B.decode([encoding[, errors]]) -> unicode object.                Decodes B using the codec registered for encoding. encoding defaults        to the default encoding. errors may be given to set a different error        handling scheme.  Default is ‘strict‘ meaning that encoding errors raise        a UnicodeDecodeError.  Other possible values are ‘ignore‘ and ‘replace‘        as well as any other name registered with codecs.register_error that is        able to handle UnicodeDecodeErrors.        """        return u""    def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__        """        B.endswith(suffix [,start [,end]]) -> bool                Return True if B ends with the specified suffix, False otherwise.        With optional start, test B beginning at that position.        With optional end, stop comparing B at that position.        suffix can also be a tuple of strings to try.        """        return False    def expandtabs(self, tabsize=None): # real signature unknown; restored from __doc__        """        B.expandtabs([tabsize]) -> copy of B                Return a copy of B where all tab characters are expanded using spaces.        If tabsize is not given, a tab size of 8 characters is assumed.        """        pass    def extend(self, iterable_int): # real signature unknown; restored from __doc__        """        B.extend(iterable int) -> None                Append all the elements from the iterator or sequence to the        end of B.        """        pass    def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        B.find(sub [,start [,end]]) -> int                Return the lowest index in B where subsection sub is found,        such that sub is contained within B[start,end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    @classmethod # known case    def fromhex(cls, string): # real signature unknown; restored from __doc__        """        bytearray.fromhex(string) -> bytearray                Create a bytearray object from a string of hexadecimal numbers.        Spaces between two numbers are accepted.        Example: bytearray.fromhex(‘B9 01EF‘) -> bytearray(b‘\xb9\x01\xef‘).        """        return bytearray    def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        B.index(sub [,start [,end]]) -> int                Like B.find() but raise ValueError when the subsection is not found.        """        return 0    def insert(self, index, p_int): # real signature unknown; restored from __doc__        """        B.insert(index, int) -> None                Insert a single item into the bytearray before the given index.        """        pass    def isalnum(self): # real signature unknown; restored from __doc__        """        B.isalnum() -> bool                Return True if all characters in B are alphanumeric        and there is at least one character in B, False otherwise.        """        return False    def isalpha(self): # real signature unknown; restored from __doc__        """        B.isalpha() -> bool                Return True if all characters in B are alphabetic        and there is at least one character in B, False otherwise.        """        return False    def isdigit(self): # real signature unknown; restored from __doc__        """        B.isdigit() -> bool                Return True if all characters in B are digits        and there is at least one character in B, False otherwise.        """        return False    def islower(self): # real signature unknown; restored from __doc__        """        B.islower() -> bool                Return True if all cased characters in B are lowercase and there is        at least one cased character in B, False otherwise.        """        return False    def isspace(self): # real signature unknown; restored from __doc__        """        B.isspace() -> bool                Return True if all characters in B are whitespace        and there is at least one character in B, False otherwise.        """        return False    def istitle(self): # real signature unknown; restored from __doc__        """        B.istitle() -> bool                Return True if B is a titlecased string and there is at least one        character in B, i.e. uppercase characters may only follow uncased        characters and lowercase characters only cased ones. Return False        otherwise.        """        return False    def isupper(self): # real signature unknown; restored from __doc__        """        B.isupper() -> bool                Return True if all cased characters in B are uppercase and there is        at least one cased character in B, False otherwise.        """        return False    def join(self, iterable_of_bytes): # real signature unknown; restored from __doc__        """        B.join(iterable_of_bytes) -> bytes                Concatenates any number of bytearray objects, with B in between each pair.        """        return ""    def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        B.ljust(width[, fillchar]) -> copy of B                Return B left justified in a string of length width. Padding is        done using the specified fill character (default is a space).        """        pass    def lower(self): # real signature unknown; restored from __doc__        """        B.lower() -> copy of B                Return a copy of B with all ASCII characters converted to lowercase.        """        pass    def lstrip(self, bytes=None): # real signature unknown; restored from __doc__        """        B.lstrip([bytes]) -> bytearray                Strip leading bytes contained in the argument.        If the argument is omitted, strip leading ASCII whitespace.        """        return bytearray    def partition(self, sep): # real signature unknown; restored from __doc__        """        B.partition(sep) -> (head, sep, tail)                Searches for the separator sep in B, and returns the part before it,        the separator itself, and the part after it.  If the separator is not        found, returns B and two empty bytearray objects.        """        pass    def pop(self, index=None): # real signature unknown; restored from __doc__        """        B.pop([index]) -> int                Remove and return a single item from B. If no index        argument is given, will pop the last value.        """        return 0    def remove(self, p_int): # real signature unknown; restored from __doc__        """        B.remove(int) -> None                Remove the first occurance of a value in B.        """        pass    def replace(self, old, new, count=None): # real signature unknown; restored from __doc__        """        B.replace(old, new[, count]) -> bytes                Return a copy of B with all occurrences of subsection        old replaced by new.  If the optional argument count is        given, only the first count occurrences are replaced.        """        return ""    def reverse(self): # real signature unknown; restored from __doc__        """        B.reverse() -> None                Reverse the order of the values in B in place.        """        pass    def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        B.rfind(sub [,start [,end]]) -> int                Return the highest index in B where subsection sub is found,        such that sub is contained within B[start,end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        B.rindex(sub [,start [,end]]) -> int                Like B.rfind() but raise ValueError when the subsection is not found.        """        return 0    def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        B.rjust(width[, fillchar]) -> copy of B                Return B right justified in a string of length width. Padding is        done using the specified fill character (default is a space)        """        pass    def rpartition(self, sep): # real signature unknown; restored from __doc__        """        B.rpartition(sep) -> (head, sep, tail)                Searches for the separator sep in B, starting at the end of B,        and returns the part before it, the separator itself, and the        part after it.  If the separator is not found, returns two empty        bytearray objects and B.        """        pass    def rsplit(self, sep, maxsplit=None): # real signature unknown; restored from __doc__        """        B.rsplit(sep[, maxsplit]) -> list of bytearray                Return a list of the sections in B, using sep as the delimiter,        starting at the end of B and working to the front.        If sep is not given, B is split on ASCII whitespace characters        (space, tab, return, newline, formfeed, vertical tab).        If maxsplit is given, at most maxsplit splits are done.        """        return []    def rstrip(self, bytes=None): # real signature unknown; restored from __doc__        """        B.rstrip([bytes]) -> bytearray                Strip trailing bytes contained in the argument.        If the argument is omitted, strip trailing ASCII whitespace.        """        return bytearray    def split(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__        """        B.split([sep[, maxsplit]]) -> list of bytearray                Return a list of the sections in B, using sep as the delimiter.        If sep is not given, B is split on ASCII whitespace characters        (space, tab, return, newline, formfeed, vertical tab).        If maxsplit is given, at most maxsplit splits are done.        """        return []    def splitlines(self, keepends=False): # real signature unknown; restored from __doc__        """        B.splitlines(keepends=False) -> list of lines                Return a list of the lines in B, breaking at line boundaries.        Line breaks are not included in the resulting list unless keepends        is given and true.        """        return []    def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__        """        B.startswith(prefix [,start [,end]]) -> bool                Return True if B starts with the specified prefix, False otherwise.        With optional start, test B beginning at that position.        With optional end, stop comparing B at that position.        prefix can also be a tuple of strings to try.        """        return False    def strip(self, bytes=None): # real signature unknown; restored from __doc__        """        B.strip([bytes]) -> bytearray                Strip leading and trailing bytes contained in the argument.        If the argument is omitted, strip ASCII whitespace.        """        return bytearray    def swapcase(self): # real signature unknown; restored from __doc__        """        B.swapcase() -> copy of B                Return a copy of B with uppercase ASCII characters converted        to lowercase ASCII and vice versa.        """        pass    def title(self): # real signature unknown; restored from __doc__        """        B.title() -> copy of B                Return a titlecased version of B, i.e. ASCII words start with uppercase        characters, all remaining cased characters have lowercase.        """        pass    def translate(self, table, deletechars=None): # real signature unknown; restored from __doc__        """        B.translate(table[, deletechars]) -> bytearray                Return a copy of B, where all characters occurring in the        optional argument deletechars are removed, and the remaining        characters have been mapped through the given translation        table, which must be a bytes object of length 256.        """        return bytearray    def upper(self): # real signature unknown; restored from __doc__        """        B.upper() -> copy of B                Return a copy of B with all ASCII characters converted to uppercase.        """        pass    def zfill(self, width): # real signature unknown; restored from __doc__        """        B.zfill(width) -> copy of B                Pad a numeric string B with zeros on the left, to fill a field        of the specified width.  B is never truncated.        """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __alloc__(self): # real signature unknown; restored from __doc__        """        B.__alloc__() -> int                Returns the number of bytes actually allocated.        """        return 0    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x """        pass    def __delitem__(self, y): # real signature unknown; restored from __doc__        """ x.__delitem__(y) <==> del x[y] """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __iadd__(self, y): # real signature unknown; restored from __doc__        """ x.__iadd__(y) <==> x+=y """        pass    def __imul__(self, y): # real signature unknown; restored from __doc__        """ x.__imul__(y) <==> x*=y """        pass    def __init__(self, source=None, encoding=None, errors=‘strict‘): # known special case of bytearray.__init__        """        bytearray(iterable_of_ints) -> bytearray.        bytearray(string, encoding[, errors]) -> bytearray.        bytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray.        bytearray(memory_view) -> bytearray.                Construct an mutable bytearray object from:          - an iterable yielding integers in range(256)          - a text string encoded using the specified encoding          - a bytes or a bytearray object          - any object implementing the buffer API.                bytearray(int) -> bytearray.                Construct a zero-initialized bytearray of the given length.        # (copied from class doc)        """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __reduce__(self, *args, **kwargs): # real signature unknown        """ Return state information for pickling. """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        pass    def __setitem__(self, i, y): # real signature unknown; restored from __doc__        """ x.__setitem__(i, y) <==> x[i]=y """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """        B.__sizeof__() -> int                 Returns the size of B in memory, in bytes        """        return 0    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        passclass str(basestring):    """    str(object=‘‘) -> string        Return a nice string representation of the object.    If the argument is a string, the return value is the same object.    """    def capitalize(self): # real signature unknown; restored from __doc__        """        S.capitalize() -> string                Return a copy of the string S with only its first character        capitalized.        """        return ""    def center(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.center(width[, fillchar]) -> string                Return S centered in a string of length width. Padding is        done using the specified fill character (default is a space)        """        return ""    def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.count(sub[, start[, end]]) -> int                Return the number of non-overlapping occurrences of substring sub in        string S[start:end].  Optional arguments start and end are interpreted        as in slice notation.        """        return 0    def decode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__        """        S.decode([encoding[,errors]]) -> object                Decodes S using the codec registered for encoding. encoding defaults        to the default encoding. errors may be given to set a different error        handling scheme. Default is ‘strict‘ meaning that encoding errors raise        a UnicodeDecodeError. Other possible values are ‘ignore‘ and ‘replace‘        as well as any other name registered with codecs.register_error that is        able to handle UnicodeDecodeErrors.        """        return object()    def encode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__        """        S.encode([encoding[,errors]]) -> object                Encodes S using the codec registered for encoding. encoding defaults        to the default encoding. errors may be given to set a different error        handling scheme. Default is ‘strict‘ meaning that encoding errors raise        a UnicodeEncodeError. Other possible values are ‘ignore‘, ‘replace‘ and        ‘xmlcharrefreplace‘ as well as any other name registered with        codecs.register_error that is able to handle UnicodeEncodeErrors.        """        return object()    def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__        """        S.endswith(suffix[, start[, end]]) -> bool                Return True if S ends with the specified suffix, False otherwise.        With optional start, test S beginning at that position.        With optional end, stop comparing S at that position.        suffix can also be a tuple of strings to try.        """        return False    def expandtabs(self, tabsize=None): # real signature unknown; restored from __doc__        """        S.expandtabs([tabsize]) -> string                Return a copy of S where all tab characters are expanded using spaces.        If tabsize is not given, a tab size of 8 characters is assumed.        """        return ""    def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.find(sub [,start [,end]]) -> int                Return the lowest index in S where substring sub is found,        such that sub is contained within S[start:end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    def format(*args, **kwargs): # known special case of str.format        """        S.format(*args, **kwargs) -> string                Return a formatted version of S, using substitutions from args and kwargs.        The substitutions are identified by braces (‘{‘ and ‘}‘).        """        pass    def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.index(sub [,start [,end]]) -> int                Like S.find() but raise ValueError when the substring is not found.        """        return 0    def isalnum(self): # real signature unknown; restored from __doc__        """        S.isalnum() -> bool                Return True if all characters in S are alphanumeric        and there is at least one character in S, False otherwise.        """        return False    def isalpha(self): # real signature unknown; restored from __doc__        """        S.isalpha() -> bool                Return True if all characters in S are alphabetic        and there is at least one character in S, False otherwise.        """        return False    def isdigit(self): # real signature unknown; restored from __doc__        """        S.isdigit() -> bool                Return True if all characters in S are digits        and there is at least one character in S, False otherwise.        """        return False    def islower(self): # real signature unknown; restored from __doc__        """        S.islower() -> bool                Return True if all cased characters in S are lowercase and there is        at least one cased character in S, False otherwise.        """        return False    def isspace(self): # real signature unknown; restored from __doc__        """        S.isspace() -> bool                Return True if all characters in S are whitespace        and there is at least one character in S, False otherwise.        """        return False    def istitle(self): # real signature unknown; restored from __doc__        """        S.istitle() -> bool                Return True if S is a titlecased string and there is at least one        character in S, i.e. uppercase characters may only follow uncased        characters and lowercase characters only cased ones. Return False        otherwise.        """        return False    def isupper(self): # real signature unknown; restored from __doc__        """        S.isupper() -> bool                Return True if all cased characters in S are uppercase and there is        at least one cased character in S, False otherwise.        """        return False    def join(self, iterable): # real signature unknown; restored from __doc__        """        S.join(iterable) -> string                Return a string which is the concatenation of the strings in the        iterable.  The separator between elements is S.        """        return ""    def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.ljust(width[, fillchar]) -> string                Return S left-justified in a string of length width. Padding is        done using the specified fill character (default is a space).        """        return ""    def lower(self): # real signature unknown; restored from __doc__        """        S.lower() -> string                Return a copy of the string S converted to lowercase.        """        return ""    def lstrip(self, chars=None): # real signature unknown; restored from __doc__        """        S.lstrip([chars]) -> string or unicode                Return a copy of the string S with leading whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is unicode, S will be converted to unicode before stripping        """        return ""    def partition(self, sep): # real signature unknown; restored from __doc__        """        S.partition(sep) -> (head, sep, tail)                Search for the separator sep in S, and return the part before it,        the separator itself, and the part after it.  If the separator is not        found, return S and two empty strings.        """        pass    def replace(self, old, new, count=None): # real signature unknown; restored from __doc__        """        S.replace(old, new[, count]) -> string                Return a copy of string S with all occurrences of substring        old replaced by new.  If the optional argument count is        given, only the first count occurrences are replaced.        """        return ""    def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.rfind(sub [,start [,end]]) -> int                Return the highest index in S where substring sub is found,        such that sub is contained within S[start:end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.rindex(sub [,start [,end]]) -> int                Like S.rfind() but raise ValueError when the substring is not found.        """        return 0    def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.rjust(width[, fillchar]) -> string                Return S right-justified in a string of length width. Padding is        done using the specified fill character (default is a space)        """        return ""    def rpartition(self, sep): # real signature unknown; restored from __doc__        """        S.rpartition(sep) -> (head, sep, tail)                Search for the separator sep in S, starting at the end of S, and return        the part before it, the separator itself, and the part after it.  If the        separator is not found, return two empty strings and S.        """        pass    def rsplit(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__        """        S.rsplit([sep [,maxsplit]]) -> list of strings                Return a list of the words in the string S, using sep as the        delimiter string, starting at the end of the string and working        to the front.  If maxsplit is given, at most maxsplit splits are        done. If sep is not specified or is None, any whitespace string        is a separator.        """        return []    def rstrip(self, chars=None): # real signature unknown; restored from __doc__        """        S.rstrip([chars]) -> string or unicode                Return a copy of the string S with trailing whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is unicode, S will be converted to unicode before stripping        """        return ""    def split(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__        """        S.split([sep [,maxsplit]]) -> list of strings                Return a list of the words in the string S, using sep as the        delimiter string.  If maxsplit is given, at most maxsplit        splits are done. If sep is not specified or is None, any        whitespace string is a separator and empty strings are removed        from the result.        """        return []    def splitlines(self, keepends=False): # real signature unknown; restored from __doc__        """        S.splitlines(keepends=False) -> list of strings                Return a list of the lines in S, breaking at line boundaries.        Line breaks are not included in the resulting list unless keepends        is given and true.        """        return []    def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__        """        S.startswith(prefix[, start[, end]]) -> bool                Return True if S starts with the specified prefix, False otherwise.        With optional start, test S beginning at that position.        With optional end, stop comparing S at that position.        prefix can also be a tuple of strings to try.        """        return False    def strip(self, chars=None): # real signature unknown; restored from __doc__        """        S.strip([chars]) -> string or unicode                Return a copy of the string S with leading and trailing        whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is unicode, S will be converted to unicode before stripping        """        return ""    def swapcase(self): # real signature unknown; restored from __doc__        """        S.swapcase() -> string                Return a copy of the string S with uppercase characters        converted to lowercase and vice versa.        """        return ""    def title(self): # real signature unknown; restored from __doc__        """        S.title() -> string                Return a titlecased version of S, i.e. words start with uppercase        characters, all remaining cased characters have lowercase.        """        return ""    def translate(self, table, deletechars=None): # real signature unknown; restored from __doc__        """        S.translate(table [,deletechars]) -> string                Return a copy of the string S, where all characters occurring        in the optional argument deletechars are removed, and the        remaining characters have been mapped through the given        translation table, which must be a string of length 256 or None.        If the table argument is None, no translation is applied and        the operation simply removes the characters in deletechars.        """        return ""    def upper(self): # real signature unknown; restored from __doc__        """        S.upper() -> string                Return a copy of the string S converted to uppercase.        """        return ""    def zfill(self, width): # real signature unknown; restored from __doc__        """        S.zfill(width) -> string                Pad a numeric string S with zeros on the left, to fill a field        of the specified width.  The string S is never truncated.        """        return ""    def _formatter_field_name_split(self, *args, **kwargs): # real signature unknown        pass    def _formatter_parser(self, *args, **kwargs): # real signature unknown        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __format__(self, format_spec): # real signature unknown; restored from __doc__        """        S.__format__(format_spec) -> string                Return a formatted version of S as described by format_spec.        """        return ""    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __getslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__getslice__(i, j) <==> x[i:j]                                      Use of negative indices is not supported.        """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, string=‘‘): # known special case of str.__init__        """        str(object=‘‘) -> string                Return a nice string representation of the object.        If the argument is a string, the return value is the same object.        # (copied from class doc)        """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ S.__sizeof__() -> size of S in memory, in bytes """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        passbytes = strclass classmethod(object):    """    classmethod(function) -> method        Convert a function to be a class method.        A class method receives the class as implicit first argument,    just like an instance method receives the instance.    To declare a class method, use this idiom:          class C:          def f(cls, arg1, arg2, ...): ...          f = classmethod(f)        It can be called either on the class (e.g. C.f()) or on an instance    (e.g. C().f()).  The instance is ignored except for its class.    If a class method is called for a derived class, the derived class    object is passed as the implied first argument.        Class methods are different than C++ or Java static methods.    If you want those, see the staticmethod builtin.    """    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __get__(self, obj, type=None): # real signature unknown; restored from __doc__        """ descr.__get__(obj[, type]) -> value """        pass    def __init__(self, function): # real signature unknown; restored from __doc__        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # defaultclass complex(object):    """    complex(real[, imag]) -> complex number        Create a complex number from a real part and an optional imaginary part.    This is equivalent to (real + imag*1j) where imag defaults to 0.    """    def conjugate(self): # real signature unknown; restored from __doc__        """        complex.conjugate() -> complex                Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.        """        return complex    def __abs__(self): # real signature unknown; restored from __doc__        """ x.__abs__() <==> abs(x) """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __coerce__(self, y): # real signature unknown; restored from __doc__        """ x.__coerce__(y) <==> coerce(x, y) """        pass    def __divmod__(self, y): # real signature unknown; restored from __doc__        """ x.__divmod__(y) <==> divmod(x, y) """        pass    def __div__(self, y): # real signature unknown; restored from __doc__        """ x.__div__(y) <==> x/y """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __float__(self): # real signature unknown; restored from __doc__        """ x.__float__() <==> float(x) """        pass    def __floordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__floordiv__(y) <==> x//y """        pass    def __format__(self): # real signature unknown; restored from __doc__        """        complex.__format__() -> str                Convert to a string according to format_spec.        """        return ""    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, real, imag=None): # real signature unknown; restored from __doc__        pass    def __int__(self): # real signature unknown; restored from __doc__        """ x.__int__() <==> int(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __long__(self): # real signature unknown; restored from __doc__        """ x.__long__() <==> long(x) """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, y): # real signature unknown; restored from __doc__        """ x.__mul__(y) <==> x*y """        pass    def __neg__(self): # real signature unknown; restored from __doc__        """ x.__neg__() <==> -x """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __nonzero__(self): # real signature unknown; restored from __doc__        """ x.__nonzero__() <==> x != 0 """        pass    def __pos__(self): # real signature unknown; restored from __doc__        """ x.__pos__() <==> +x """        pass    def __pow__(self, y, z=None): # real signature unknown; restored from __doc__        """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """        pass    def __radd__(self, y): # real signature unknown; restored from __doc__        """ x.__radd__(y) <==> y+x """        pass    def __rdivmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rdivmod__(y) <==> divmod(y, x) """        pass    def __rdiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rdiv__(y) <==> y/x """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rfloordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rfloordiv__(y) <==> y//x """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, y): # real signature unknown; restored from __doc__        """ x.__rmul__(y) <==> y*x """        pass    def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__        """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rtruediv__(self, y): # real signature unknown; restored from __doc__        """ x.__rtruediv__(y) <==> y/x """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __truediv__(self, y): # real signature unknown; restored from __doc__        """ x.__truediv__(y) <==> x/y """        pass    imag = property(lambda self: 0.0)    """the imaginary part of a complex number    :type: float    """    real = property(lambda self: 0.0)    """the real part of a complex number    :type: float    """class dict(object):    """    dict() -> new empty dictionary    dict(mapping) -> new dictionary initialized from a mapping object‘s        (key, value) pairs    dict(iterable) -> new dictionary initialized as if via:        d = {}        for k, v in iterable:            d[k] = v    dict(**kwargs) -> new dictionary initialized with the name=value pairs        in the keyword argument list.  For example:  dict(one=1, two=2)    """    def clear(self): # real signature unknown; restored from __doc__        """ D.clear() -> None.  Remove all items from D. """        pass    def copy(self): # real signature unknown; restored from __doc__        """ D.copy() -> a shallow copy of D """        pass    @staticmethod # known case    def fromkeys(S, v=None): # real signature unknown; restored from __doc__        """        dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.        v defaults to None.        """        pass    def get(self, k, d=None): # real signature unknown; restored from __doc__        """ D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None. """        pass    def has_key(self, k): # real signature unknown; restored from __doc__        """ D.has_key(k) -> True if D has a key k, else False """        return False    def items(self): # real signature unknown; restored from __doc__        """ D.items() -> list of D‘s (key, value) pairs, as 2-tuples """        return []    def iteritems(self): # real signature unknown; restored from __doc__        """ D.iteritems() -> an iterator over the (key, value) items of D """        pass    def iterkeys(self): # real signature unknown; restored from __doc__        """ D.iterkeys() -> an iterator over the keys of D """        pass    def itervalues(self): # real signature unknown; restored from __doc__        """ D.itervalues() -> an iterator over the values of D """        pass    def keys(self): # real signature unknown; restored from __doc__        """ D.keys() -> list of D‘s keys """        return []    def pop(self, k, d=None): # real signature unknown; restored from __doc__        """        D.pop(k[,d]) -> v, remove specified key and return the corresponding value.        If key is not found, d is returned if given, otherwise KeyError is raised        """        pass    def popitem(self): # real signature unknown; restored from __doc__        """        D.popitem() -> (k, v), remove and return some (key, value) pair as a        2-tuple; but raise KeyError if D is empty.        """        pass    def setdefault(self, k, d=None): # real signature unknown; restored from __doc__        """ D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D """        pass    def update(self, E=None, **F): # known special case of dict.update        """        D.update([E, ]**F) -> None.  Update D from dict/iterable E and F.        If E present and has a .keys() method, does:     for k in E: D[k] = E[k]        If E present and lacks .keys() method, does:     for (k, v) in E: D[k] = v        In either case, this is followed by: for k in F: D[k] = F[k]        """        pass    def values(self): # real signature unknown; restored from __doc__        """ D.values() -> list of D‘s values """        return []    def viewitems(self): # real signature unknown; restored from __doc__        """ D.viewitems() -> a set-like object providing a view on D‘s items """        pass    def viewkeys(self): # real signature unknown; restored from __doc__        """ D.viewkeys() -> a set-like object providing a view on D‘s keys """        pass    def viewvalues(self): # real signature unknown; restored from __doc__        """ D.viewvalues() -> an object providing a view on D‘s values """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __contains__(self, k): # real signature unknown; restored from __doc__        """ D.__contains__(k) -> True if D has a key k, else False """        return False    def __delitem__(self, y): # real signature unknown; restored from __doc__        """ x.__delitem__(y) <==> del x[y] """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __init__(self, seq=None, **kwargs): # known special case of dict.__init__        """        dict() -> new empty dictionary        dict(mapping) -> new dictionary initialized from a mapping object‘s            (key, value) pairs        dict(iterable) -> new dictionary initialized as if via:            d = {}            for k, v in iterable:                d[k] = v        dict(**kwargs) -> new dictionary initialized with the name=value pairs            in the keyword argument list.  For example:  dict(one=1, two=2)        # (copied from class doc)        """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __setitem__(self, i, y): # real signature unknown; restored from __doc__        """ x.__setitem__(i, y) <==> x[i]=y """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ D.__sizeof__() -> size of D in memory, in bytes """        pass    __hash__ = Noneclass enumerate(object):    """    enumerate(iterable[, start]) -> iterator for index, value of iterable        Return an enumerate object.  iterable must be another object that supports    iteration.  The enumerate object yields pairs containing a count (from    start, which defaults to zero) and a value yielded by the iterable argument.    enumerate is useful for obtaining an indexed list:        (0, seq[0]), (1, seq[1]), (2, seq[2]), ...    """    def next(self): # real signature unknown; restored from __doc__        """ x.next() -> the next value, or raise StopIteration """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __init__(self, iterable, start=0): # known special case of enumerate.__init__        """ x.__init__(...) initializes x; see help(type(x)) for signature """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        passclass file(object):    """    file(name[, mode[, buffering]]) -> file object        Open a file.  The mode can be ‘r‘, ‘w‘ or ‘a‘ for reading (default),    writing or appending.  The file will be created if it doesn‘t exist    when opened for writing or appending; it will be truncated when    opened for writing.  Add a ‘b‘ to the mode for binary files.    Add a ‘+‘ to the mode to allow simultaneous reading and writing.    If the buffering argument is given, 0 means unbuffered, 1 means line    buffered, and larger numbers specify the buffer size.  The preferred way    to open a file is with the builtin open() function.    Add a ‘U‘ to mode to open the file for input with universal newline    support.  Any line ending in the input file will be seen as a ‘\n‘    in Python.  Also, a file so opened gains the attribute ‘newlines‘;    the value for this attribute is one of None (no newline read yet),    ‘\r‘, ‘\n‘, ‘\r\n‘ or a tuple containing all the newline types seen.        ‘U‘ cannot be combined with ‘w‘ or ‘+‘ mode.    """    def close(self): # real signature unknown; restored from __doc__        """        close() -> None or (perhaps) an integer.  Close the file.                Sets data attribute .closed to True.  A closed file cannot be used for        further I/O operations.  close() may be called more than once without        error.  Some kinds of file objects (for example, opened by popen())        may return an exit status upon closing.        """        pass    def fileno(self): # real signature unknown; restored from __doc__        """        fileno() -> integer "file descriptor".                This is needed for lower-level file interfaces, such os.read().        """        return 0    def flush(self): # real signature unknown; restored from __doc__        """ flush() -> None.  Flush the internal I/O buffer. """        pass    def isatty(self): # real signature unknown; restored from __doc__        """ isatty() -> true or false.  True if the file is connected to a tty device. """        return False    def next(self): # real signature unknown; restored from __doc__        """ x.next() -> the next value, or raise StopIteration """        pass    def read(self, size=None): # real signature unknown; restored from __doc__        """        read([size]) -> read at most size bytes, returned as a string.                If the size argument is negative or omitted, read until EOF is reached.        Notice that when in non-blocking mode, less data than what was requested        may be returned, even if no size parameter was given.        """        pass    def readinto(self): # real signature unknown; restored from __doc__        """ readinto() -> Undocumented.  Don‘t use this; it may go away. """        pass    def readline(self, size=None): # real signature unknown; restored from __doc__        """        readline([size]) -> next line from the file, as a string.                Retain newline.  A non-negative size argument limits the maximum        number of bytes to return (an incomplete line may be returned then).        Return an empty string at EOF.        """        pass    def readlines(self, size=None): # real signature unknown; restored from __doc__        """        readlines([size]) -> list of strings, each a line from the file.                Call readline() repeatedly and return a list of the lines so read.        The optional size argument, if given, is an approximate bound on the        total number of bytes in the lines returned.        """        return []    def seek(self, offset, whence=None): # real signature unknown; restored from __doc__        """        seek(offset[, whence]) -> None.  Move to new file position.                Argument offset is a byte count.  Optional argument whence defaults to        0 (offset from start of file, offset should be >= 0); other values are 1        (move relative to current position, positive or negative), and 2 (move        relative to end of file, usually negative, although many platforms allow        seeking beyond the end of a file).  If the file is opened in text mode,        only offsets returned by tell() are legal.  Use of other offsets causes        undefined behavior.        Note that not all file objects are seekable.        """        pass    def tell(self): # real signature unknown; restored from __doc__        """ tell() -> current file position, an integer (may be a long integer). """        pass    def truncate(self, size=None): # real signature unknown; restored from __doc__        """        truncate([size]) -> None.  Truncate the file to at most size bytes.                Size defaults to the current file position, as returned by tell().        """        pass    def write(self, p_str): # real signature unknown; restored from __doc__        """        write(str) -> None.  Write string str to file.                Note that due to buffering, flush() or close() may be needed before        the file on disk reflects the data written.        """        pass    def writelines(self, sequence_of_strings): # real signature unknown; restored from __doc__        """        writelines(sequence_of_strings) -> None.  Write the strings to the file.                Note that newlines are not added.  The sequence can be any iterable object        producing strings. This is equivalent to calling write() for each string.        """        pass    def xreadlines(self): # real signature unknown; restored from __doc__        """        xreadlines() -> returns self.                For backward compatibility. File objects now include the performance        optimizations previously implemented in the xreadlines module.        """        pass    def __delattr__(self, name): # real signature unknown; restored from __doc__        """ x.__delattr__(‘name‘) <==> del x.name """        pass    def __enter__(self): # real signature unknown; restored from __doc__        """ __enter__() -> self. """        return self    def __exit__(self, *excinfo): # real signature unknown; restored from __doc__        """ __exit__(*excinfo) -> None.  Closes the file. """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __init__(self, name, mode=None, buffering=None): # real signature unknown; restored from __doc__        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __setattr__(self, name, value): # real signature unknown; restored from __doc__        """ x.__setattr__(‘name‘, value) <==> x.name = value """        pass    closed = property(lambda self: True)    """True if the file is closed    :type: bool    """    encoding = property(lambda self: ‘‘)    """file encoding    :type: string    """    errors = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """Unicode error handler"""    mode = property(lambda self: ‘‘)    """file mode (‘r‘, ‘U‘, ‘w‘, ‘a‘, possibly with ‘b‘ or ‘+‘ added)    :type: string    """    name = property(lambda self: ‘‘)    """file name    :type: string    """    newlines = property(lambda self: ‘‘)    """end-of-line convention used in this file    :type: string    """    softspace = property(lambda self: True)    """flag indicating that a space needs to be printed; used by print    :type: bool    """class float(object):    """    float(x) -> floating point number        Convert a string or number to a floating point number, if possible.    """    def as_integer_ratio(self): # real signature unknown; restored from __doc__        """        float.as_integer_ratio() -> (int, int)                Return a pair of integers, whose ratio is exactly equal to the original        float and with a positive denominator.        Raise OverflowError on infinities and a ValueError on NaNs.                >>> (10.0).as_integer_ratio()        (10, 1)        >>> (0.0).as_integer_ratio()        (0, 1)        >>> (-.25).as_integer_ratio()        (-1, 4)        """        pass    def conjugate(self, *args, **kwargs): # real signature unknown        """ Return self, the complex conjugate of any float. """        pass    def fromhex(self, string): # real signature unknown; restored from __doc__        """        float.fromhex(string) -> float                Create a floating-point number from a hexadecimal string.        >>> float.fromhex(‘0x1.ffffp10‘)        2047.984375        >>> float.fromhex(‘-0x1p-1074‘)        -4.9406564584124654e-324        """        return 0.0    def hex(self): # real signature unknown; restored from __doc__        """        float.hex() -> string                Return a hexadecimal representation of a floating-point number.        >>> (-0.1).hex()        ‘-0x1.999999999999ap-4‘        >>> 3.14159.hex()        ‘0x1.921f9f01b866ep+1‘        """        return ""    def is_integer(self, *args, **kwargs): # real signature unknown        """ Return True if the float is an integer. """        pass    def __abs__(self): # real signature unknown; restored from __doc__        """ x.__abs__() <==> abs(x) """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __coerce__(self, y): # real signature unknown; restored from __doc__        """ x.__coerce__(y) <==> coerce(x, y) """        pass    def __divmod__(self, y): # real signature unknown; restored from __doc__        """ x.__divmod__(y) <==> divmod(x, y) """        pass    def __div__(self, y): # real signature unknown; restored from __doc__        """ x.__div__(y) <==> x/y """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __float__(self): # real signature unknown; restored from __doc__        """ x.__float__() <==> float(x) """        pass    def __floordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__floordiv__(y) <==> x//y """        pass    def __format__(self, format_spec): # real signature unknown; restored from __doc__        """        float.__format__(format_spec) -> string                Formats the float according to format_spec.        """        return ""    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getformat__(self, typestr): # real signature unknown; restored from __doc__        """        float.__getformat__(typestr) -> string                You probably don‘t want to use this function.  It exists mainly to be        used in Python‘s test suite.                typestr must be ‘double‘ or ‘float‘.  This function returns whichever of        ‘unknown‘, ‘IEEE, big-endian‘ or ‘IEEE, little-endian‘ best describes the        format of floating point numbers used by the C type named by typestr.        """        return ""    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, x): # real signature unknown; restored from __doc__        pass    def __int__(self): # real signature unknown; restored from __doc__        """ x.__int__() <==> int(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __long__(self): # real signature unknown; restored from __doc__        """ x.__long__() <==> long(x) """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, y): # real signature unknown; restored from __doc__        """ x.__mul__(y) <==> x*y """        pass    def __neg__(self): # real signature unknown; restored from __doc__        """ x.__neg__() <==> -x """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __nonzero__(self): # real signature unknown; restored from __doc__        """ x.__nonzero__() <==> x != 0 """        pass    def __pos__(self): # real signature unknown; restored from __doc__        """ x.__pos__() <==> +x """        pass    def __pow__(self, y, z=None): # real signature unknown; restored from __doc__        """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """        pass    def __radd__(self, y): # real signature unknown; restored from __doc__        """ x.__radd__(y) <==> y+x """        pass    def __rdivmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rdivmod__(y) <==> divmod(y, x) """        pass    def __rdiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rdiv__(y) <==> y/x """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rfloordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rfloordiv__(y) <==> y//x """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, y): # real signature unknown; restored from __doc__        """ x.__rmul__(y) <==> y*x """        pass    def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__        """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rtruediv__(self, y): # real signature unknown; restored from __doc__        """ x.__rtruediv__(y) <==> y/x """        pass    def __setformat__(self, typestr, fmt): # real signature unknown; restored from __doc__        """        float.__setformat__(typestr, fmt) -> None                You probably don‘t want to use this function.  It exists mainly to be        used in Python‘s test suite.                typestr must be ‘double‘ or ‘float‘.  fmt must be one of ‘unknown‘,        ‘IEEE, big-endian‘ or ‘IEEE, little-endian‘, and in addition can only be        one of the latter two if it appears to match the underlying C reality.                Override the automatic determination of C-level floating point type.        This affects how floats are converted to and from binary strings.        """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __truediv__(self, y): # real signature unknown; restored from __doc__        """ x.__truediv__(y) <==> x/y """        pass    def __trunc__(self, *args, **kwargs): # real signature unknown        """ Return the Integral closest to x between 0 and x. """        pass    imag = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the imaginary part of a complex number"""    real = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the real part of a complex number"""class frozenset(object):    """    frozenset() -> empty frozenset object    frozenset(iterable) -> frozenset object        Build an immutable unordered collection of unique elements.    """    def copy(self, *args, **kwargs): # real signature unknown        """ Return a shallow copy of a set. """        pass    def difference(self, *args, **kwargs): # real signature unknown        """        Return the difference of two or more sets as a new set.                (i.e. all elements that are in this set but not the others.)        """        pass    def intersection(self, *args, **kwargs): # real signature unknown        """        Return the intersection of two or more sets as a new set.                (i.e. elements that are common to all of the sets.)        """        pass    def isdisjoint(self, *args, **kwargs): # real signature unknown        """ Return True if two sets have a null intersection. """        pass    def issubset(self, *args, **kwargs): # real signature unknown        """ Report whether another set contains this set. """        pass    def issuperset(self, *args, **kwargs): # real signature unknown        """ Report whether this set contains another set. """        pass    def symmetric_difference(self, *args, **kwargs): # real signature unknown        """        Return the symmetric difference of two sets as a new set.                (i.e. all elements that are in exactly one of the sets.)        """        pass    def union(self, *args, **kwargs): # real signature unknown        """        Return the union of sets as a new set.                (i.e. all elements that are in either set.)        """        pass    def __and__(self, y): # real signature unknown; restored from __doc__        """ x.__and__(y) <==> x&y """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x. """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, seq=()): # known special case of frozenset.__init__        """ x.__init__(...) initializes x; see help(type(x)) for signature """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __or__(self, y): # real signature unknown; restored from __doc__        """ x.__or__(y) <==> x|y """        pass    def __rand__(self, y): # real signature unknown; restored from __doc__        """ x.__rand__(y) <==> y&x """        pass    def __reduce__(self, *args, **kwargs): # real signature unknown        """ Return state information for pickling. """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __ror__(self, y): # real signature unknown; restored from __doc__        """ x.__ror__(y) <==> y|x """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rxor__(self, y): # real signature unknown; restored from __doc__        """ x.__rxor__(y) <==> y^x """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ S.__sizeof__() -> size of S in memory, in bytes """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __xor__(self, y): # real signature unknown; restored from __doc__        """ x.__xor__(y) <==> x^y """        passclass list(object):    """    list() -> new empty list    list(iterable) -> new list initialized from iterable‘s items    """    def append(self, p_object): # real signature unknown; restored from __doc__        """ L.append(object) -- append object to end """        pass    def count(self, value): # real signature unknown; restored from __doc__        """ L.count(value) -> integer -- return number of occurrences of value """        return 0    def extend(self, iterable): # real signature unknown; restored from __doc__        """ L.extend(iterable) -- extend list by appending elements from the iterable """        pass    def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__        """        L.index(value, [start, [stop]]) -> integer -- return first index of value.        Raises ValueError if the value is not present.        """        return 0    def insert(self, index, p_object): # real signature unknown; restored from __doc__        """ L.insert(index, object) -- insert object before index """        pass    def pop(self, index=None): # real signature unknown; restored from __doc__        """        L.pop([index]) -> item -- remove and return item at index (default last).        Raises IndexError if list is empty or index is out of range.        """        pass    def remove(self, value): # real signature unknown; restored from __doc__        """        L.remove(value) -- remove first occurrence of value.        Raises ValueError if the value is not present.        """        pass    def reverse(self): # real signature unknown; restored from __doc__        """ L.reverse() -- reverse *IN PLACE* """        pass    def sort(self, cmp=None, key=None, reverse=False): # real signature unknown; restored from __doc__        """        L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;        cmp(x, y) -> -1, 0, 1        """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x """        pass    def __delitem__(self, y): # real signature unknown; restored from __doc__        """ x.__delitem__(y) <==> del x[y] """        pass    def __delslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__delslice__(i, j) <==> del x[i:j]                                      Use of negative indices is not supported.        """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __getslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__getslice__(i, j) <==> x[i:j]                                      Use of negative indices is not supported.        """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __iadd__(self, y): # real signature unknown; restored from __doc__        """ x.__iadd__(y) <==> x+=y """        pass    def __imul__(self, y): # real signature unknown; restored from __doc__        """ x.__imul__(y) <==> x*=y """        pass    def __init__(self, seq=()): # known special case of list.__init__        """        list() -> new empty list        list(iterable) -> new list initialized from iterable‘s items        # (copied from class doc)        """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __reversed__(self): # real signature unknown; restored from __doc__        """ L.__reversed__() -- return a reverse iterator over the list """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        pass    def __setitem__(self, i, y): # real signature unknown; restored from __doc__        """ x.__setitem__(i, y) <==> x[i]=y """        pass    def __setslice__(self, i, j, y): # real signature unknown; restored from __doc__        """        x.__setslice__(i, j, y) <==> x[i:j]=y                                      Use  of negative indices is not supported.        """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ L.__sizeof__() -- size of L in memory, in bytes """        pass    __hash__ = Noneclass long(object):    """    long(x=0) -> long    long(x, base=10) -> long        Convert a number or string to a long integer, or return 0L if no arguments    are given.  If x is floating point, the conversion truncates towards zero.        If x is not a number or if base is given, then x must be a string or    Unicode object representing an integer literal in the given base.  The    literal can be preceded by ‘+‘ or ‘-‘ and be surrounded by whitespace.    The base defaults to 10.  Valid bases are 0 and 2-36.  Base 0 means to    interpret the base from the string as an integer literal.    >>> int(‘0b100‘, base=0)    4L    """    def bit_length(self): # real signature unknown; restored from __doc__        """        long.bit_length() -> int or long                Number of bits necessary to represent self in binary.        >>> bin(37L)        ‘0b100101‘        >>> (37L).bit_length()        6        """        return 0    def conjugate(self, *args, **kwargs): # real signature unknown        """ Returns self, the complex conjugate of any long. """        pass    def __abs__(self): # real signature unknown; restored from __doc__        """ x.__abs__() <==> abs(x) """        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __and__(self, y): # real signature unknown; restored from __doc__        """ x.__and__(y) <==> x&y """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __coerce__(self, y): # real signature unknown; restored from __doc__        """ x.__coerce__(y) <==> coerce(x, y) """        pass    def __divmod__(self, y): # real signature unknown; restored from __doc__        """ x.__divmod__(y) <==> divmod(x, y) """        pass    def __div__(self, y): # real signature unknown; restored from __doc__        """ x.__div__(y) <==> x/y """        pass    def __float__(self): # real signature unknown; restored from __doc__        """ x.__float__() <==> float(x) """        pass    def __floordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__floordiv__(y) <==> x//y """        pass    def __format__(self, *args, **kwargs): # real signature unknown        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __hex__(self): # real signature unknown; restored from __doc__        """ x.__hex__() <==> hex(x) """        pass    def __index__(self): # real signature unknown; restored from __doc__        """ x[y:z] <==> x[y.__index__():z.__index__()] """        pass    def __init__(self, x=0): # real signature unknown; restored from __doc__        pass    def __int__(self): # real signature unknown; restored from __doc__        """ x.__int__() <==> int(x) """        pass    def __invert__(self): # real signature unknown; restored from __doc__        """ x.__invert__() <==> ~x """        pass    def __long__(self): # real signature unknown; restored from __doc__        """ x.__long__() <==> long(x) """        pass    def __lshift__(self, y): # real signature unknown; restored from __doc__        """ x.__lshift__(y) <==> x<<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, y): # real signature unknown; restored from __doc__        """ x.__mul__(y) <==> x*y """        pass    def __neg__(self): # real signature unknown; restored from __doc__        """ x.__neg__() <==> -x """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __nonzero__(self): # real signature unknown; restored from __doc__        """ x.__nonzero__() <==> x != 0 """        pass    def __oct__(self): # real signature unknown; restored from __doc__        """ x.__oct__() <==> oct(x) """        pass    def __or__(self, y): # real signature unknown; restored from __doc__        """ x.__or__(y) <==> x|y """        pass    def __pos__(self): # real signature unknown; restored from __doc__        """ x.__pos__() <==> +x """        pass    def __pow__(self, y, z=None): # real signature unknown; restored from __doc__        """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """        pass    def __radd__(self, y): # real signature unknown; restored from __doc__        """ x.__radd__(y) <==> y+x """        pass    def __rand__(self, y): # real signature unknown; restored from __doc__        """ x.__rand__(y) <==> y&x """        pass    def __rdivmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rdivmod__(y) <==> divmod(y, x) """        pass    def __rdiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rdiv__(y) <==> y/x """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rfloordiv__(self, y): # real signature unknown; restored from __doc__        """ x.__rfloordiv__(y) <==> y//x """        pass    def __rlshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rlshift__(y) <==> y<<x """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, y): # real signature unknown; restored from __doc__        """ x.__rmul__(y) <==> y*x """        pass    def __ror__(self, y): # real signature unknown; restored from __doc__        """ x.__ror__(y) <==> y|x """        pass    def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__        """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """        pass    def __rrshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rrshift__(y) <==> y>>x """        pass    def __rshift__(self, y): # real signature unknown; restored from __doc__        """ x.__rshift__(y) <==> x>>y """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rtruediv__(self, y): # real signature unknown; restored from __doc__        """ x.__rtruediv__(y) <==> y/x """        pass    def __rxor__(self, y): # real signature unknown; restored from __doc__        """ x.__rxor__(y) <==> y^x """        pass    def __sizeof__(self, *args, **kwargs): # real signature unknown        """ Returns size in memory, in bytes """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __truediv__(self, y): # real signature unknown; restored from __doc__        """ x.__truediv__(y) <==> x/y """        pass    def __trunc__(self, *args, **kwargs): # real signature unknown        """ Truncating an Integral returns itself. """        pass    def __xor__(self, y): # real signature unknown; restored from __doc__        """ x.__xor__(y) <==> x^y """        pass    denominator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the denominator of a rational number in lowest terms"""    imag = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the imaginary part of a complex number"""    numerator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the numerator of a rational number in lowest terms"""    real = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    """the real part of a complex number"""class memoryview(object):    """    memoryview(object)        Create a new memoryview object which references the given object.    """    def tobytes(self, *args, **kwargs): # real signature unknown        pass    def tolist(self, *args, **kwargs): # real signature unknown        pass    def __delitem__(self, y): # real signature unknown; restored from __doc__        """ x.__delitem__(y) <==> del x[y] """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __init__(self, p_object): # real signature unknown; restored from __doc__        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __setitem__(self, i, y): # real signature unknown; restored from __doc__        """ x.__setitem__(i, y) <==> x[i]=y """        pass    format = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    itemsize = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    ndim = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    readonly = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    shape = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    strides = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    suboffsets = property(lambda self: object(), lambda self, v: None, lambda self: None)  # defaultclass property(object):    """    property(fget=None, fset=None, fdel=None, doc=None) -> property attribute        fget is a function to be used for getting an attribute value, and likewise    fset is a function for setting, and fdel a function for del‘ing, an    attribute.  Typical use is to define a managed attribute x:        class C(object):        def getx(self): return self._x        def setx(self, value): self._x = value        def delx(self): del self._x        x = property(getx, setx, delx, "I‘m the ‘x‘ property.")        Decorators make defining new properties or modifying existing ones easy:        class C(object):        @property        def x(self):            "I am the ‘x‘ property."            return self._x        @x.setter        def x(self, value):            self._x = value        @x.deleter        def x(self):            del self._x    """    def deleter(self, *args, **kwargs): # real signature unknown        """ Descriptor to change the deleter on a property. """        pass    def getter(self, *args, **kwargs): # real signature unknown        """ Descriptor to change the getter on a property. """        pass    def setter(self, *args, **kwargs): # real signature unknown        """ Descriptor to change the setter on a property. """        pass    def __delete__(self, obj): # real signature unknown; restored from __doc__        """ descr.__delete__(obj) """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __get__(self, obj, type=None): # real signature unknown; restored from __doc__        """ descr.__get__(obj[, type]) -> value """        pass    def __init__(self, fget=None, fset=None, fdel=None, doc=None): # known special case of property.__init__        """        property(fget=None, fset=None, fdel=None, doc=None) -> property attribute                fget is a function to be used for getting an attribute value, and likewise        fset is a function for setting, and fdel a function for del‘ing, an        attribute.  Typical use is to define a managed attribute x:                class C(object):            def getx(self): return self._x            def setx(self, value): self._x = value            def delx(self): del self._x            x = property(getx, setx, delx, "I‘m the ‘x‘ property.")                Decorators make defining new properties or modifying existing ones easy:                class C(object):            @property            def x(self):                "I am the ‘x‘ property."                return self._x            @x.setter            def x(self, value):                self._x = value            @x.deleter            def x(self):                del self._x                # (copied from class doc)        """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __set__(self, obj, value): # real signature unknown; restored from __doc__        """ descr.__set__(obj, value) """        pass    fdel = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    fget = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    fset = property(lambda self: object(), lambda self, v: None, lambda self: None)  # defaultclass reversed(object):    """    reversed(sequence) -> reverse iterator over values of the sequence        Return a reverse iterator    """    def next(self): # real signature unknown; restored from __doc__        """ x.next() -> the next value, or raise StopIteration """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __init__(self, sequence): # real signature unknown; restored from __doc__        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __length_hint__(self, *args, **kwargs): # real signature unknown        """ Private method returning an estimate of len(list(it)). """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        passclass set(object):    """    set() -> new empty set object    set(iterable) -> new set object        Build an unordered collection of unique elements.    """    def add(self, *args, **kwargs): # real signature unknown        """        Add an element to a set.                This has no effect if the element is already present.        """        pass    def clear(self, *args, **kwargs): # real signature unknown        """ Remove all elements from this set. """        pass    def copy(self, *args, **kwargs): # real signature unknown        """ Return a shallow copy of a set. """        pass    def difference(self, *args, **kwargs): # real signature unknown        """        Return the difference of two or more sets as a new set.                (i.e. all elements that are in this set but not the others.)        """        pass    def difference_update(self, *args, **kwargs): # real signature unknown        """ Remove all elements of another set from this set. """        pass    def discard(self, *args, **kwargs): # real signature unknown        """        Remove an element from a set if it is a member.                If the element is not a member, do nothing.        """        pass    def intersection(self, *args, **kwargs): # real signature unknown        """        Return the intersection of two or more sets as a new set.                (i.e. elements that are common to all of the sets.)        """        pass    def intersection_update(self, *args, **kwargs): # real signature unknown        """ Update a set with the intersection of itself and another. """        pass    def isdisjoint(self, *args, **kwargs): # real signature unknown        """ Return True if two sets have a null intersection. """        pass    def issubset(self, *args, **kwargs): # real signature unknown        """ Report whether another set contains this set. """        pass    def issuperset(self, *args, **kwargs): # real signature unknown        """ Report whether this set contains another set. """        pass    def pop(self, *args, **kwargs): # real signature unknown        """        Remove and return an arbitrary set element.        Raises KeyError if the set is empty.        """        pass    def remove(self, *args, **kwargs): # real signature unknown        """        Remove an element from a set; it must be a member.                If the element is not a member, raise a KeyError.        """        pass    def symmetric_difference(self, *args, **kwargs): # real signature unknown        """        Return the symmetric difference of two sets as a new set.                (i.e. all elements that are in exactly one of the sets.)        """        pass    def symmetric_difference_update(self, *args, **kwargs): # real signature unknown        """ Update a set with the symmetric difference of itself and another. """        pass    def union(self, *args, **kwargs): # real signature unknown        """        Return the union of sets as a new set.                (i.e. all elements that are in either set.)        """        pass    def update(self, *args, **kwargs): # real signature unknown        """ Update a set with the union of itself and others. """        pass    def __and__(self, y): # real signature unknown; restored from __doc__        """ x.__and__(y) <==> x&y """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x. """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __iand__(self, y): # real signature unknown; restored from __doc__        """ x.__iand__(y) <==> x&=y """        pass    def __init__(self, seq=()): # known special case of set.__init__        """        set() -> new empty set object        set(iterable) -> new set object                Build an unordered collection of unique elements.        # (copied from class doc)        """        pass    def __ior__(self, y): # real signature unknown; restored from __doc__        """ x.__ior__(y) <==> x|=y """        pass    def __isub__(self, y): # real signature unknown; restored from __doc__        """ x.__isub__(y) <==> x-=y """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __ixor__(self, y): # real signature unknown; restored from __doc__        """ x.__ixor__(y) <==> x^=y """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __or__(self, y): # real signature unknown; restored from __doc__        """ x.__or__(y) <==> x|y """        pass    def __rand__(self, y): # real signature unknown; restored from __doc__        """ x.__rand__(y) <==> y&x """        pass    def __reduce__(self, *args, **kwargs): # real signature unknown        """ Return state information for pickling. """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __ror__(self, y): # real signature unknown; restored from __doc__        """ x.__ror__(y) <==> y|x """        pass    def __rsub__(self, y): # real signature unknown; restored from __doc__        """ x.__rsub__(y) <==> y-x """        pass    def __rxor__(self, y): # real signature unknown; restored from __doc__        """ x.__rxor__(y) <==> y^x """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ S.__sizeof__() -> size of S in memory, in bytes """        pass    def __sub__(self, y): # real signature unknown; restored from __doc__        """ x.__sub__(y) <==> x-y """        pass    def __xor__(self, y): # real signature unknown; restored from __doc__        """ x.__xor__(y) <==> x^y """        pass    __hash__ = Noneclass slice(object):    """    slice(stop)    slice(start, stop[, step])        Create a slice object.  This is used for extended slicing (e.g. a[0:10:2]).    """    def indices(self, len): # real signature unknown; restored from __doc__        """        S.indices(len) -> (start, stop, stride)                Assuming a sequence of length len, calculate the start and stop        indices, and the stride length of the extended slice described by        S. Out of bounds indices are clipped in a manner consistent with the        handling of normal slices.        """        pass    def __cmp__(self, y): # real signature unknown; restored from __doc__        """ x.__cmp__(y) <==> cmp(x,y) """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, stop): # real signature unknown; restored from __doc__        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __reduce__(self, *args, **kwargs): # real signature unknown        """ Return state information for pickling. """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    start = property(lambda self: 0)    """:type: int"""    step = property(lambda self: 0)    """:type: int"""    stop = property(lambda self: 0)    """:type: int"""class staticmethod(object):    """    staticmethod(function) -> method        Convert a function to be a static method.        A static method does not receive an implicit first argument.    To declare a static method, use this idiom:             class C:         def f(arg1, arg2, ...): ...         f = staticmethod(f)        It can be called either on the class (e.g. C.f()) or on an instance    (e.g. C().f()).  The instance is ignored except for its class.        Static methods in Python are similar to those found in Java or C++.    For a more advanced concept, see the classmethod builtin.    """    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __get__(self, obj, type=None): # real signature unknown; restored from __doc__        """ descr.__get__(obj[, type]) -> value """        pass    def __init__(self, function): # real signature unknown; restored from __doc__        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # defaultclass super(object):    """    super(type, obj) -> bound super object; requires isinstance(obj, type)    super(type) -> unbound super object    super(type, type2) -> bound super object; requires issubclass(type2, type)    Typical use to call a cooperative superclass method:    class C(B):        def meth(self, arg):            super(C, self).meth(arg)    """    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __get__(self, obj, type=None): # real signature unknown; restored from __doc__        """ descr.__get__(obj[, type]) -> value """        pass    def __init__(self, type1, type2=None): # known special case of super.__init__        """        super(type, obj) -> bound super object; requires isinstance(obj, type)        super(type) -> unbound super object        super(type, type2) -> bound super object; requires issubclass(type2, type)        Typical use to call a cooperative superclass method:        class C(B):            def meth(self, arg):                super(C, self).meth(arg)        # (copied from class doc)        """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    __self_class__ = property(lambda self: type(object))    """the type of the instance invoking super(); may be None    :type: type    """    __self__ = property(lambda self: type(object))    """the instance invoking super(); may be None    :type: type    """    __thisclass__ = property(lambda self: type(object))    """the class invoking super()    :type: type    """class tuple(object):    """    tuple() -> empty tuple    tuple(iterable) -> tuple initialized from iterable‘s items        If the argument is a tuple, the return value is the same object.    """    def count(self, value): # real signature unknown; restored from __doc__        """ T.count(value) -> integer -- return number of occurrences of value """        return 0    def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__        """        T.index(value, [start, [stop]]) -> integer -- return first index of value.        Raises ValueError if the value is not present.        """        return 0    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __getslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__getslice__(i, j) <==> x[i:j]                                      Use of negative indices is not supported.        """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, seq=()): # known special case of tuple.__init__        """        tuple() -> empty tuple        tuple(iterable) -> tuple initialized from iterable‘s items                If the argument is a tuple, the return value is the same object.        # (copied from class doc)        """        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        passclass type(object):    """    type(object) -> the object‘s type    type(name, bases, dict) -> a new type    """    def mro(self): # real signature unknown; restored from __doc__        """        mro() -> list        return a type‘s method resolution order        """        return []    def __call__(self, *more): # real signature unknown; restored from __doc__        """ x.__call__(...) <==> x(...) """        pass    def __delattr__(self, name): # real signature unknown; restored from __doc__        """ x.__delattr__(‘name‘) <==> del x.name """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(cls, what, bases=None, dict=None): # known special case of type.__init__        """        type(object) -> the object‘s type        type(name, bases, dict) -> a new type        # (copied from class doc)        """        pass    def __instancecheck__(self): # real signature unknown; restored from __doc__        """        __instancecheck__() -> bool        check if an object is an instance        """        return False    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __setattr__(self, name, value): # real signature unknown; restored from __doc__        """ x.__setattr__(‘name‘, value) <==> x.name = value """        pass    def __subclasscheck__(self): # real signature unknown; restored from __doc__        """        __subclasscheck__() -> bool        check if a class is a subclass        """        return False    def __subclasses__(self): # real signature unknown; restored from __doc__        """ __subclasses__() -> list of immediate subclasses """        return []    __abstractmethods__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default    __bases__ = (        object,    )    __base__ = object    __basicsize__ = 436    __dictoffset__ = 132    __dict__ = None # (!) real value is ‘‘    __flags__ = -2146544149    __itemsize__ = 20    __mro__ = (        None, # (!) forward: type, real value is ‘‘        object,    )    __name__ = ‘type‘    __weakrefoffset__ = 184class unicode(basestring):    """    unicode(object=‘‘) -> unicode object    unicode(string[, encoding[, errors]]) -> unicode object        Create a new Unicode object from the given encoded string.    encoding defaults to the current default string encoding.    errors can be ‘strict‘, ‘replace‘ or ‘ignore‘ and defaults to ‘strict‘.    """    def capitalize(self): # real signature unknown; restored from __doc__        """        S.capitalize() -> unicode                Return a capitalized version of S, i.e. make the first character        have upper case and the rest lower case.        """        return u""    def center(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.center(width[, fillchar]) -> unicode                Return S centered in a Unicode string of length width. Padding is        done using the specified fill character (default is a space)        """        return u""    def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.count(sub[, start[, end]]) -> int                Return the number of non-overlapping occurrences of substring sub in        Unicode string S[start:end].  Optional arguments start and end are        interpreted as in slice notation.        """        return 0    def decode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__        """        S.decode([encoding[,errors]]) -> string or unicode                Decodes S using the codec registered for encoding. encoding defaults        to the default encoding. errors may be given to set a different error        handling scheme. Default is ‘strict‘ meaning that encoding errors raise        a UnicodeDecodeError. Other possible values are ‘ignore‘ and ‘replace‘        as well as any other name registered with codecs.register_error that is        able to handle UnicodeDecodeErrors.        """        return ""    def encode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__        """        S.encode([encoding[,errors]]) -> string or unicode                Encodes S using the codec registered for encoding. encoding defaults        to the default encoding. errors may be given to set a different error        handling scheme. Default is ‘strict‘ meaning that encoding errors raise        a UnicodeEncodeError. Other possible values are ‘ignore‘, ‘replace‘ and        ‘xmlcharrefreplace‘ as well as any other name registered with        codecs.register_error that can handle UnicodeEncodeErrors.        """        return ""    def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__        """        S.endswith(suffix[, start[, end]]) -> bool                Return True if S ends with the specified suffix, False otherwise.        With optional start, test S beginning at that position.        With optional end, stop comparing S at that position.        suffix can also be a tuple of strings to try.        """        return False    def expandtabs(self, tabsize=None): # real signature unknown; restored from __doc__        """        S.expandtabs([tabsize]) -> unicode                Return a copy of S where all tab characters are expanded using spaces.        If tabsize is not given, a tab size of 8 characters is assumed.        """        return u""    def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.find(sub [,start [,end]]) -> int                Return the lowest index in S where substring sub is found,        such that sub is contained within S[start:end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    def format(*args, **kwargs): # known special case of unicode.format        """        S.format(*args, **kwargs) -> unicode                Return a formatted version of S, using substitutions from args and kwargs.        The substitutions are identified by braces (‘{‘ and ‘}‘).        """        pass    def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.index(sub [,start [,end]]) -> int                Like S.find() but raise ValueError when the substring is not found.        """        return 0    def isalnum(self): # real signature unknown; restored from __doc__        """        S.isalnum() -> bool                Return True if all characters in S are alphanumeric        and there is at least one character in S, False otherwise.        """        return False    def isalpha(self): # real signature unknown; restored from __doc__        """        S.isalpha() -> bool                Return True if all characters in S are alphabetic        and there is at least one character in S, False otherwise.        """        return False    def isdecimal(self): # real signature unknown; restored from __doc__        """        S.isdecimal() -> bool                Return True if there are only decimal characters in S,        False otherwise.        """        return False    def isdigit(self): # real signature unknown; restored from __doc__        """        S.isdigit() -> bool                Return True if all characters in S are digits        and there is at least one character in S, False otherwise.        """        return False    def islower(self): # real signature unknown; restored from __doc__        """        S.islower() -> bool                Return True if all cased characters in S are lowercase and there is        at least one cased character in S, False otherwise.        """        return False    def isnumeric(self): # real signature unknown; restored from __doc__        """        S.isnumeric() -> bool                Return True if there are only numeric characters in S,        False otherwise.        """        return False    def isspace(self): # real signature unknown; restored from __doc__        """        S.isspace() -> bool                Return True if all characters in S are whitespace        and there is at least one character in S, False otherwise.        """        return False    def istitle(self): # real signature unknown; restored from __doc__        """        S.istitle() -> bool                Return True if S is a titlecased string and there is at least one        character in S, i.e. upper- and titlecase characters may only        follow uncased characters and lowercase characters only cased ones.        Return False otherwise.        """        return False    def isupper(self): # real signature unknown; restored from __doc__        """        S.isupper() -> bool                Return True if all cased characters in S are uppercase and there is        at least one cased character in S, False otherwise.        """        return False    def join(self, iterable): # real signature unknown; restored from __doc__        """        S.join(iterable) -> unicode                Return a string which is the concatenation of the strings in the        iterable.  The separator between elements is S.        """        return u""    def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.ljust(width[, fillchar]) -> int                Return S left-justified in a Unicode string of length width. Padding is        done using the specified fill character (default is a space).        """        return 0    def lower(self): # real signature unknown; restored from __doc__        """        S.lower() -> unicode                Return a copy of the string S converted to lowercase.        """        return u""    def lstrip(self, chars=None): # real signature unknown; restored from __doc__        """        S.lstrip([chars]) -> unicode                Return a copy of the string S with leading whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is a str, it will be converted to unicode before stripping        """        return u""    def partition(self, sep): # real signature unknown; restored from __doc__        """        S.partition(sep) -> (head, sep, tail)                Search for the separator sep in S, and return the part before it,        the separator itself, and the part after it.  If the separator is not        found, return S and two empty strings.        """        pass    def replace(self, old, new, count=None): # real signature unknown; restored from __doc__        """        S.replace(old, new[, count]) -> unicode                Return a copy of S with all occurrences of substring        old replaced by new.  If the optional argument count is        given, only the first count occurrences are replaced.        """        return u""    def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.rfind(sub [,start [,end]]) -> int                Return the highest index in S where substring sub is found,        such that sub is contained within S[start:end].  Optional        arguments start and end are interpreted as in slice notation.                Return -1 on failure.        """        return 0    def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__        """        S.rindex(sub [,start [,end]]) -> int                Like S.rfind() but raise ValueError when the substring is not found.        """        return 0    def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__        """        S.rjust(width[, fillchar]) -> unicode                Return S right-justified in a Unicode string of length width. Padding is        done using the specified fill character (default is a space).        """        return u""    def rpartition(self, sep): # real signature unknown; restored from __doc__        """        S.rpartition(sep) -> (head, sep, tail)                Search for the separator sep in S, starting at the end of S, and return        the part before it, the separator itself, and the part after it.  If the        separator is not found, return two empty strings and S.        """        pass    def rsplit(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__        """        S.rsplit([sep [,maxsplit]]) -> list of strings                Return a list of the words in S, using sep as the        delimiter string, starting at the end of the string and        working to the front.  If maxsplit is given, at most maxsplit        splits are done. If sep is not specified, any whitespace string        is a separator.        """        return []    def rstrip(self, chars=None): # real signature unknown; restored from __doc__        """        S.rstrip([chars]) -> unicode                Return a copy of the string S with trailing whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is a str, it will be converted to unicode before stripping        """        return u""    def split(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__        """        S.split([sep [,maxsplit]]) -> list of strings                Return a list of the words in S, using sep as the        delimiter string.  If maxsplit is given, at most maxsplit        splits are done. If sep is not specified or is None, any        whitespace string is a separator and empty strings are        removed from the result.        """        return []    def splitlines(self, keepends=False): # real signature unknown; restored from __doc__        """        S.splitlines(keepends=False) -> list of strings                Return a list of the lines in S, breaking at line boundaries.        Line breaks are not included in the resulting list unless keepends        is given and true.        """        return []    def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__        """        S.startswith(prefix[, start[, end]]) -> bool                Return True if S starts with the specified prefix, False otherwise.        With optional start, test S beginning at that position.        With optional end, stop comparing S at that position.        prefix can also be a tuple of strings to try.        """        return False    def strip(self, chars=None): # real signature unknown; restored from __doc__        """        S.strip([chars]) -> unicode                Return a copy of the string S with leading and trailing        whitespace removed.        If chars is given and not None, remove characters in chars instead.        If chars is a str, it will be converted to unicode before stripping        """        return u""    def swapcase(self): # real signature unknown; restored from __doc__        """        S.swapcase() -> unicode                Return a copy of S with uppercase characters converted to lowercase        and vice versa.        """        return u""    def title(self): # real signature unknown; restored from __doc__        """        S.title() -> unicode                Return a titlecased version of S, i.e. words start with title case        characters, all remaining cased characters have lower case.        """        return u""    def translate(self, table): # real signature unknown; restored from __doc__        """        S.translate(table) -> unicode                Return a copy of the string S, where all characters have been mapped        through the given translation table, which must be a mapping of        Unicode ordinals to Unicode ordinals, Unicode strings or None.        Unmapped characters are left untouched. Characters mapped to None        are deleted.        """        return u""    def upper(self): # real signature unknown; restored from __doc__        """        S.upper() -> unicode                Return a copy of S converted to uppercase.        """        return u""    def zfill(self, width): # real signature unknown; restored from __doc__        """        S.zfill(width) -> unicode                Pad a numeric string S with zeros on the left, to fill a field        of the specified width. The string S is never truncated.        """        return u""    def _formatter_field_name_split(self, *args, **kwargs): # real signature unknown        pass    def _formatter_parser(self, *args, **kwargs): # real signature unknown        pass    def __add__(self, y): # real signature unknown; restored from __doc__        """ x.__add__(y) <==> x+y """        pass    def __contains__(self, y): # real signature unknown; restored from __doc__        """ x.__contains__(y) <==> y in x """        pass    def __eq__(self, y): # real signature unknown; restored from __doc__        """ x.__eq__(y) <==> x==y """        pass    def __format__(self, format_spec): # real signature unknown; restored from __doc__        """        S.__format__(format_spec) -> unicode                Return a formatted version of S as described by format_spec.        """        return u""    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __getnewargs__(self, *args, **kwargs): # real signature unknown        pass    def __getslice__(self, i, j): # real signature unknown; restored from __doc__        """        x.__getslice__(i, j) <==> x[i:j]                                      Use of negative indices is not supported.        """        pass    def __ge__(self, y): # real signature unknown; restored from __doc__        """ x.__ge__(y) <==> x>=y """        pass    def __gt__(self, y): # real signature unknown; restored from __doc__        """ x.__gt__(y) <==> x>y """        pass    def __hash__(self): # real signature unknown; restored from __doc__        """ x.__hash__() <==> hash(x) """        pass    def __init__(self, string=u‘‘, encoding=None, errors=‘strict‘): # known special case of unicode.__init__        """        unicode(object=‘‘) -> unicode object        unicode(string[, encoding[, errors]]) -> unicode object                Create a new Unicode object from the given encoded string.        encoding defaults to the current default string encoding.        errors can be ‘strict‘, ‘replace‘ or ‘ignore‘ and defaults to ‘strict‘.        # (copied from class doc)        """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    def __le__(self, y): # real signature unknown; restored from __doc__        """ x.__le__(y) <==> x<=y """        pass    def __lt__(self, y): # real signature unknown; restored from __doc__        """ x.__lt__(y) <==> x<y """        pass    def __mod__(self, y): # real signature unknown; restored from __doc__        """ x.__mod__(y) <==> x%y """        pass    def __mul__(self, n): # real signature unknown; restored from __doc__        """ x.__mul__(n) <==> x*n """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __ne__(self, y): # real signature unknown; restored from __doc__        """ x.__ne__(y) <==> x!=y """        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __rmod__(self, y): # real signature unknown; restored from __doc__        """ x.__rmod__(y) <==> y%x """        pass    def __rmul__(self, n): # real signature unknown; restored from __doc__        """ x.__rmul__(n) <==> n*x """        pass    def __sizeof__(self): # real signature unknown; restored from __doc__        """ S.__sizeof__() -> size of S in memory, in bytes """        pass    def __str__(self): # real signature unknown; restored from __doc__        """ x.__str__() <==> str(x) """        passclass xrange(object):    """    xrange(stop) -> xrange object    xrange(start, stop[, step]) -> xrange object        Like range(), but instead of returning a list, returns an object that    generates the numbers in the range on demand.  For looping, this is     slightly faster than range() and more memory efficient.    """    def __getattribute__(self, name): # real signature unknown; restored from __doc__        """ x.__getattribute__(‘name‘) <==> x.name """        pass    def __getitem__(self, y): # real signature unknown; restored from __doc__        """ x.__getitem__(y) <==> x[y] """        pass    def __init__(self, stop): # real signature unknown; restored from __doc__        pass    def __iter__(self): # real signature unknown; restored from __doc__        """ x.__iter__() <==> iter(x) """        pass    def __len__(self): # real signature unknown; restored from __doc__        """ x.__len__() <==> len(x) """        pass    @staticmethod # known case of __new__    def __new__(S, *more): # real signature unknown; restored from __doc__        """ T.__new__(S, ...) -> a new object with type S, a subtype of T """        pass    def __reduce__(self, *args, **kwargs): # real signature unknown        pass    def __repr__(self): # real signature unknown; restored from __doc__        """ x.__repr__() <==> repr(x) """        pass    def __reversed__(self, *args, **kwargs): # real signature unknown        """ Returns a reverse iterator. """        pass# variables with complex valuesEllipsis = None # (!) real value is ‘‘NotImplemented = None # (!) real value is ‘‘

 基本常用的很少,主要大部分都是私有方法

2、浮点型

如:3.14、2.88

查看方法同上

3、字符串(很常用)

方法如下

技术分享
   1 class str(basestring):   2     """   3     str(object=‘‘) -> string   4        5     Return a nice string representation of the object.   6     If the argument is a string, the return value is the same object.   7     """   8     def capitalize(self): # real signature unknown; restored from __doc__   9         """  10         S.capitalize() -> string  11           12         Return a copy of the string S with only its first character  13         capitalized.  14         """  15         return ""  16   17     def center(self, width, fillchar=None): # real signature unknown; restored from __doc__  18         """  19         S.center(width[, fillchar]) -> string  20           21         Return S centered in a string of length width. Padding is  22         done using the specified fill character (default is a space)  23         """  24         return ""  25   26     def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__  27         """  28         S.count(sub[, start[, end]]) -> int  29           30         Return the number of non-overlapping occurrences of substring sub in  31         string S[start:end].  Optional arguments start and end are interpreted  32         as in slice notation.  33         """  34         return 0  35   36     def decode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__  37         """  38         S.decode([encoding[,errors]]) -> object  39           40         Decodes S using the codec registered for encoding. encoding defaults  41         to the default encoding. errors may be given to set a different error  42         handling scheme. Default is ‘strict‘ meaning that encoding errors raise  43         a UnicodeDecodeError. Other possible values are ‘ignore‘ and ‘replace‘  44         as well as any other name registered with codecs.register_error that is  45         able to handle UnicodeDecodeErrors.  46         """  47         return object()  48   49     def encode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__  50         """  51         S.encode([encoding[,errors]]) -> object  52           53         Encodes S using the codec registered for encoding. encoding defaults  54         to the default encoding. errors may be given to set a different error  55         handling scheme. Default is ‘strict‘ meaning that encoding errors raise  56         a UnicodeEncodeError. Other possible values are ‘ignore‘, ‘replace‘ and  57         ‘xmlcharrefreplace‘ as well as any other name registered with  58         codecs.register_error that is able to handle UnicodeEncodeErrors.  59         """  60         return object()  61   62     def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__  63         """  64         S.endswith(suffix[, start[, end]]) -> bool  65           66         Return True if S ends with the specified suffix, False otherwise.  67         With optional start, test S beginning at that position.  68         With optional end, stop comparing S at that position.  69         suffix can also be a tuple of strings to try.  70         """  71         return False  72   73     def expandtabs(self, tabsize=None): # real signature unknown; restored from __doc__  74         """  75         S.expandtabs([tabsize]) -> string  76           77         Return a copy of S where all tab characters are expanded using spaces.  78         If tabsize is not given, a tab size of 8 characters is assumed.  79         """  80         return ""  81   82     def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__  83         """  84         S.find(sub [,start [,end]]) -> int  85           86         Return the lowest index in S where substring sub is found,  87         such that sub is contained within S[start:end].  Optional  88         arguments start and end are interpreted as in slice notation.  89           90         Return -1 on failure.  91         """  92         return 0  93   94     def format(*args, **kwargs): # known special case of str.format  95         """  96         S.format(*args, **kwargs) -> string  97           98         Return a formatted version of S, using substitutions from args and kwargs.  99         The substitutions are identified by braces (‘{‘ and ‘}‘). 100         """ 101         pass 102  103     def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__ 104         """ 105         S.index(sub [,start [,end]]) -> int 106          107         Like S.find() but raise ValueError when the substring is not found. 108         """ 109         return 0 110  111     def isalnum(self): # real signature unknown; restored from __doc__ 112         """ 113         S.isalnum() -> bool 114          115         Return True if all characters in S are alphanumeric 116         and there is at least one character in S, False otherwise. 117         """ 118         return False 119  120     def isalpha(self): # real signature unknown; restored from __doc__ 121         """ 122         S.isalpha() -> bool 123          124         Return True if all characters in S are alphabetic 125         and there is at least one character in S, False otherwise. 126         """ 127         return False 128  129     def isdigit(self): # real signature unknown; restored from __doc__ 130         """ 131         S.isdigit() -> bool 132          133         Return True if all characters in S are digits 134         and there is at least one character in S, False otherwise. 135         """ 136         return False 137  138     def islower(self): # real signature unknown; restored from __doc__ 139         """ 140         S.islower() -> bool 141          142         Return True if all cased characters in S are lowercase and there is 143         at least one cased character in S, False otherwise. 144         """ 145         return False 146  147     def isspace(self): # real signature unknown; restored from __doc__ 148         """ 149         S.isspace() -> bool 150          151         Return True if all characters in S are whitespace 152         and there is at least one character in S, False otherwise. 153         """ 154         return False 155  156     def istitle(self): # real signature unknown; restored from __doc__ 157         """ 158         S.istitle() -> bool 159          160         Return True if S is a titlecased string and there is at least one 161         character in S, i.e. uppercase characters may only follow uncased 162         characters and lowercase characters only cased ones. Return False 163         otherwise. 164         """ 165         return False 166  167     def isupper(self): # real signature unknown; restored from __doc__ 168         """ 169         S.isupper() -> bool 170          171         Return True if all cased characters in S are uppercase and there is 172         at least one cased character in S, False otherwise. 173         """ 174         return False 175  176     def join(self, iterable): # real signature unknown; restored from __doc__ 177         """ 178         S.join(iterable) -> string 179          180         Return a string which is the concatenation of the strings in the 181         iterable.  The separator between elements is S. 182         """ 183         return "" 184  185     def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__ 186         """ 187         S.ljust(width[, fillchar]) -> string 188          189         Return S left-justified in a string of length width. Padding is 190         done using the specified fill character (default is a space). 191         """ 192         return "" 193  194     def lower(self): # real signature unknown; restored from __doc__ 195         """ 196         S.lower() -> string 197          198         Return a copy of the string S converted to lowercase. 199         """ 200         return "" 201  202     def lstrip(self, chars=None): # real signature unknown; restored from __doc__ 203         """ 204         S.lstrip([chars]) -> string or unicode 205          206         Return a copy of the string S with leading whitespace removed. 207         If chars is given and not None, remove characters in chars instead. 208         If chars is unicode, S will be converted to unicode before stripping 209         """ 210         return "" 211  212     def partition(self, sep): # real signature unknown; restored from __doc__ 213         """ 214         S.partition(sep) -> (head, sep, tail) 215          216         Search for the separator sep in S, and return the part before it, 217         the separator itself, and the part after it.  If the separator is not 218         found, return S and two empty strings. 219         """ 220         pass 221  222     def replace(self, old, new, count=None): # real signature unknown; restored from __doc__ 223         """ 224         S.replace(old, new[, count]) -> string 225          226         Return a copy of string S with all occurrences of substring 227         old replaced by new.  If the optional argument count is 228         given, only the first count occurrences are replaced. 229         """ 230         return "" 231  232     def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__ 233         """ 234         S.rfind(sub [,start [,end]]) -> int 235          236         Return the highest index in S where substring sub is found, 237         such that sub is contained within S[start:end].  Optional 238         arguments start and end are interpreted as in slice notation. 239          240         Return -1 on failure. 241         """ 242         return 0 243  244     def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__ 245         """ 246         S.rindex(sub [,start [,end]]) -> int 247          248         Like S.rfind() but raise ValueError when the substring is not found. 249         """ 250         return 0 251  252     def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__ 253         """ 254         S.rjust(width[, fillchar]) -> string 255          256         Return S right-justified in a string of length width. Padding is 257         done using the specified fill character (default is a space) 258         """ 259         return "" 260  261     def rpartition(self, sep): # real signature unknown; restored from __doc__ 262         """ 263         S.rpartition(sep) -> (head, sep, tail) 264          265         Search for the separator sep in S, starting at the end of S, and return 266         the part before it, the separator itself, and the part after it.  If the 267         separator is not found, return two empty strings and S. 268         """ 269         pass 270  271     def rsplit(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__ 272         """ 273         S.rsplit([sep [,maxsplit]]) -> list of strings 274          275         Return a list of the words in the string S, using sep as the 276         delimiter string, starting at the end of the string and working 277         to the front.  If maxsplit is given, at most maxsplit splits are 278         done. If sep is not specified or is None, any whitespace string 279         is a separator. 280         """ 281         return [] 282  283     def rstrip(self, chars=None): # real signature unknown; restored from __doc__ 284         """ 285         S.rstrip([chars]) -> string or unicode 286          287         Return a copy of the string S with trailing whitespace removed. 288         If chars is given and not None, remove characters in chars instead. 289         If chars is unicode, S will be converted to unicode before stripping 290         """ 291         return "" 292  293     def split(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__ 294         """ 295         S.split([sep [,maxsplit]]) -> list of strings 296          297         Return a list of the words in the string S, using sep as the 298         delimiter string.  If maxsplit is given, at most maxsplit 299         splits are done. If sep is not specified or is None, any 300         whitespace string is a separator and empty strings are removed 301         from the result. 302         """ 303         return [] 304  305     def splitlines(self, keepends=False): # real signature unknown; restored from __doc__ 306         """ 307         S.splitlines(keepends=False) -> list of strings 308          309         Return a list of the lines in S, breaking at line boundaries. 310         Line breaks are not included in the resulting list unless keepends 311         is given and true. 312         """ 313         return [] 314  315     def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__ 316         """ 317         S.startswith(prefix[, start[, end]]) -> bool 318          319         Return True if S starts with the specified prefix, False otherwise. 320         With optional start, test S beginning at that position. 321         With optional end, stop comparing S at that position. 322         prefix can also be a tuple of strings to try. 323         """ 324         return False 325  326     def strip(self, chars=None): # real signature unknown; restored from __doc__ 327         """ 328         S.strip([chars]) -> string or unicode 329          330         Return a copy of the string S with leading and trailing 331         whitespace removed. 332         If chars is given and not None, remove characters in chars instead. 333         If chars is unicode, S will be converted to unicode before stripping 334         """ 335         return "" 336  337     def swapcase(self): # real signature unknown; restored from __doc__ 338         """ 339         S.swapcase() -> string 340          341         Return a copy of the string S with uppercase characters 342         converted to lowercase and vice versa. 343         """ 344         return "" 345  346     def title(self): # real signature unknown; restored from __doc__ 347         """ 348         S.title() -> string 349          350         Return a titlecased version of S, i.e. words start with uppercase 351         characters, all remaining cased characters have lowercase. 352         """ 353         return "" 354  355     def translate(self, table, deletechars=None): # real signature unknown; restored from __doc__ 356         """ 357         S.translate(table [,deletechars]) -> string 358          359         Return a copy of the string S, where all characters occurring 360         in the optional argument deletechars are removed, and the 361         remaining characters have been mapped through the given 362         translation table, which must be a string of length 256 or None. 363         If the table argument is None, no translation is applied and 364         the operation simply removes the characters in deletechars. 365         """ 366         return "" 367  368     def upper(self): # real signature unknown; restored from __doc__ 369         """ 370         S.upper() -> string 371          372         Return a copy of the string S converted to uppercase. 373         """ 374         return "" 375  376     def zfill(self, width): # real signature unknown; restored from __doc__ 377         """ 378         S.zfill(width) -> string 379          380         Pad a numeric string S with zeros on the left, to fill a field 381         of the specified width.  The string S is never truncated. 382         """ 383         return "" 384  385     def _formatter_field_name_split(self, *args, **kwargs): # real signature unknown 386         pass 387  388     def _formatter_parser(self, *args, **kwargs): # real signature unknown 389         pass 390  391     def __add__(self, y): # real signature unknown; restored from __doc__ 392         """ x.__add__(y) <==> x+y """ 393         pass 394  395     def __contains__(self, y): # real signature unknown; restored from __doc__ 396         """ x.__contains__(y) <==> y in x """ 397         pass 398  399     def __eq__(self, y): # real signature unknown; restored from __doc__ 400         """ x.__eq__(y) <==> x==y """ 401         pass 402  403     def __format__(self, format_spec): # real signature unknown; restored from __doc__ 404         """ 405         S.__format__(format_spec) -> string 406          407         Return a formatted version of S as described by format_spec. 408         """ 409         return "" 410  411     def __getattribute__(self, name): # real signature unknown; restored from __doc__ 412         """ x.__getattribute__(‘name‘) <==> x.name """ 413         pass 414  415     def __getitem__(self, y): # real signature unknown; restored from __doc__ 416         """ x.__getitem__(y) <==> x[y] """ 417         pass 418  419     def __getnewargs__(self, *args, **kwargs): # real signature unknown 420         pass 421  422     def __getslice__(self, i, j): # real signature unknown; restored from __doc__ 423         """ 424         x.__getslice__(i, j) <==> x[i:j] 425                     426                    Use of negative indices is not supported. 427         """ 428         pass 429  430     def __ge__(self, y): # real signature unknown; restored from __doc__ 431         """ x.__ge__(y) <==> x>=y """ 432         pass 433  434     def __gt__(self, y): # real signature unknown; restored from __doc__ 435         """ x.__gt__(y) <==> x>y """ 436         pass 437  438     def __hash__(self): # real signature unknown; restored from __doc__ 439         """ x.__hash__() <==> hash(x) """ 440         pass 441  442     def __init__(self, string=‘‘): # known special case of str.__init__ 443         """ 444         str(object=‘‘) -> string 445          446         Return a nice string representation of the object. 447         If the argument is a string, the return value is the same object. 448         # (copied from class doc) 449         """ 450         pass 451  452     def __len__(self): # real signature unknown; restored from __doc__ 453         """ x.__len__() <==> len(x) """ 454         pass 455  456     def __le__(self, y): # real signature unknown; restored from __doc__ 457         """ x.__le__(y) <==> x<=y """ 458         pass 459  460     def __lt__(self, y): # real signature unknown; restored from __doc__ 461         """ x.__lt__(y) <==> x<y """ 462         pass 463  464     def __mod__(self, y): # real signature unknown; restored from __doc__ 465         """ x.__mod__(y) <==> x%y """ 466         pass 467  468     def __mul__(self, n): # real signature unknown; restored from __doc__ 469         """ x.__mul__(n) <==> x*n """ 470         pass 471  472     @staticmethod # known case of __new__ 473     def __new__(S, *more): # real signature unknown; restored from __doc__ 474         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """ 475         pass 476  477     def __ne__(self, y): # real signature unknown; restored from __doc__ 478         """ x.__ne__(y) <==> x!=y """ 479         pass 480  481     def __repr__(self): # real signature unknown; restored from __doc__ 482         """ x.__repr__() <==> repr(x) """ 483         pass 484  485     def __rmod__(self, y): # real signature unknown; restored from __doc__ 486         """ x.__rmod__(y) <==> y%x """ 487         pass 488  489     def __rmul__(self, n): # real signature unknown; restored from __doc__ 490         """ x.__rmul__(n) <==> n*x """ 491         pass 492  493     def __sizeof__(self): # real signature unknown; restored from __doc__ 494         """ S.__sizeof__() -> size of S in memory, in bytes """ 495         pass 496  497     def __str__(self): # real signature unknown; restored from __doc__ 498         """ x.__str__() <==> str(x) """ 499         pass 500  501  502 bytes = str 503  504  505 class classmethod(object): 506     """ 507     classmethod(function) -> method 508      509     Convert a function to be a class method. 510      511     A class method receives the class as implicit first argument, 512     just like an instance method receives the instance. 513     To declare a class method, use this idiom: 514      515       class C: 516           def f(cls, arg1, arg2, ...): ... 517           f = classmethod(f) 518      519     It can be called either on the class (e.g. C.f()) or on an instance 520     (e.g. C().f()).  The instance is ignored except for its class. 521     If a class method is called for a derived class, the derived class 522     object is passed as the implied first argument. 523      524     Class methods are different than C++ or Java static methods. 525     If you want those, see the staticmethod builtin. 526     """ 527     def __getattribute__(self, name): # real signature unknown; restored from __doc__ 528         """ x.__getattribute__(‘name‘) <==> x.name """ 529         pass 530  531     def __get__(self, obj, type=None): # real signature unknown; restored from __doc__ 532         """ descr.__get__(obj[, type]) -> value """ 533         pass 534  535     def __init__(self, function): # real signature unknown; restored from __doc__ 536         pass 537  538     @staticmethod # known case of __new__ 539     def __new__(S, *more): # real signature unknown; restored from __doc__ 540         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """ 541         pass 542  543     __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default 544  545  546  547 class complex(object): 548     """ 549     complex(real[, imag]) -> complex number 550      551     Create a complex number from a real part and an optional imaginary part. 552     This is equivalent to (real + imag*1j) where imag defaults to 0. 553     """ 554     def conjugate(self): # real signature unknown; restored from __doc__ 555         """ 556         complex.conjugate() -> complex 557          558         Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j. 559         """ 560         return complex 561  562     def __abs__(self): # real signature unknown; restored from __doc__ 563         """ x.__abs__() <==> abs(x) """ 564         pass 565  566     def __add__(self, y): # real signature unknown; restored from __doc__ 567         """ x.__add__(y) <==> x+y """ 568         pass 569  570     def __coerce__(self, y): # real signature unknown; restored from __doc__ 571         """ x.__coerce__(y) <==> coerce(x, y) """ 572         pass 573  574     def __divmod__(self, y): # real signature unknown; restored from __doc__ 575         """ x.__divmod__(y) <==> divmod(x, y) """ 576         pass 577  578     def __div__(self, y): # real signature unknown; restored from __doc__ 579         """ x.__div__(y) <==> x/y """ 580         pass 581  582     def __eq__(self, y): # real signature unknown; restored from __doc__ 583         """ x.__eq__(y) <==> x==y """ 584         pass 585  586     def __float__(self): # real signature unknown; restored from __doc__ 587         """ x.__float__() <==> float(x) """ 588         pass 589  590     def __floordiv__(self, y): # real signature unknown; restored from __doc__ 591         """ x.__floordiv__(y) <==> x//y """ 592         pass 593  594     def __format__(self): # real signature unknown; restored from __doc__ 595         """ 596         complex.__format__() -> str 597          598         Convert to a string according to format_spec. 599         """ 600         return "" 601  602     def __getattribute__(self, name): # real signature unknown; restored from __doc__ 603         """ x.__getattribute__(‘name‘) <==> x.name """ 604         pass 605  606     def __getnewargs__(self, *args, **kwargs): # real signature unknown 607         pass 608  609     def __ge__(self, y): # real signature unknown; restored from __doc__ 610         """ x.__ge__(y) <==> x>=y """ 611         pass 612  613     def __gt__(self, y): # real signature unknown; restored from __doc__ 614         """ x.__gt__(y) <==> x>y """ 615         pass 616  617     def __hash__(self): # real signature unknown; restored from __doc__ 618         """ x.__hash__() <==> hash(x) """ 619         pass 620  621     def __init__(self, real, imag=None): # real signature unknown; restored from __doc__ 622         pass 623  624     def __int__(self): # real signature unknown; restored from __doc__ 625         """ x.__int__() <==> int(x) """ 626         pass 627  628     def __le__(self, y): # real signature unknown; restored from __doc__ 629         """ x.__le__(y) <==> x<=y """ 630         pass 631  632     def __long__(self): # real signature unknown; restored from __doc__ 633         """ x.__long__() <==> long(x) """ 634         pass 635  636     def __lt__(self, y): # real signature unknown; restored from __doc__ 637         """ x.__lt__(y) <==> x<y """ 638         pass 639  640     def __mod__(self, y): # real signature unknown; restored from __doc__ 641         """ x.__mod__(y) <==> x%y """ 642         pass 643  644     def __mul__(self, y): # real signature unknown; restored from __doc__ 645         """ x.__mul__(y) <==> x*y """ 646         pass 647  648     def __neg__(self): # real signature unknown; restored from __doc__ 649         """ x.__neg__() <==> -x """ 650         pass 651  652     @staticmethod # known case of __new__ 653     def __new__(S, *more): # real signature unknown; restored from __doc__ 654         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """ 655         pass 656  657     def __ne__(self, y): # real signature unknown; restored from __doc__ 658         """ x.__ne__(y) <==> x!=y """ 659         pass 660  661     def __nonzero__(self): # real signature unknown; restored from __doc__ 662         """ x.__nonzero__() <==> x != 0 """ 663         pass 664  665     def __pos__(self): # real signature unknown; restored from __doc__ 666         """ x.__pos__() <==> +x """ 667         pass 668  669     def __pow__(self, y, z=None): # real signature unknown; restored from __doc__ 670         """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """ 671         pass 672  673     def __radd__(self, y): # real signature unknown; restored from __doc__ 674         """ x.__radd__(y) <==> y+x """ 675         pass 676  677     def __rdivmod__(self, y): # real signature unknown; restored from __doc__ 678         """ x.__rdivmod__(y) <==> divmod(y, x) """ 679         pass 680  681     def __rdiv__(self, y): # real signature unknown; restored from __doc__ 682         """ x.__rdiv__(y) <==> y/x """ 683         pass 684  685     def __repr__(self): # real signature unknown; restored from __doc__ 686         """ x.__repr__() <==> repr(x) """ 687         pass 688  689     def __rfloordiv__(self, y): # real signature unknown; restored from __doc__ 690         """ x.__rfloordiv__(y) <==> y//x """ 691         pass 692  693     def __rmod__(self, y): # real signature unknown; restored from __doc__ 694         """ x.__rmod__(y) <==> y%x """ 695         pass 696  697     def __rmul__(self, y): # real signature unknown; restored from __doc__ 698         """ x.__rmul__(y) <==> y*x """ 699         pass 700  701     def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__ 702         """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """ 703         pass 704  705     def __rsub__(self, y): # real signature unknown; restored from __doc__ 706         """ x.__rsub__(y) <==> y-x """ 707         pass 708  709     def __rtruediv__(self, y): # real signature unknown; restored from __doc__ 710         """ x.__rtruediv__(y) <==> y/x """ 711         pass 712  713     def __str__(self): # real signature unknown; restored from __doc__ 714         """ x.__str__() <==> str(x) """ 715         pass 716  717     def __sub__(self, y): # real signature unknown; restored from __doc__ 718         """ x.__sub__(y) <==> x-y """ 719         pass 720  721     def __truediv__(self, y): # real signature unknown; restored from __doc__ 722         """ x.__truediv__(y) <==> x/y """ 723         pass 724  725     imag = property(lambda self: 0.0) 726     """the imaginary part of a complex number 727  728     :type: float 729     """ 730  731     real = property(lambda self: 0.0) 732     """the real part of a complex number 733  734     :type: float 735     """ 736  737  738  739 class dict(object): 740     """ 741     dict() -> new empty dictionary 742     dict(mapping) -> new dictionary initialized from a mapping object‘s 743         (key, value) pairs 744     dict(iterable) -> new dictionary initialized as if via: 745         d = {} 746         for k, v in iterable: 747             d[k] = v 748     dict(**kwargs) -> new dictionary initialized with the name=value pairs 749         in the keyword argument list.  For example:  dict(one=1, two=2) 750     """ 751     def clear(self): # real signature unknown; restored from __doc__ 752         """ D.clear() -> None.  Remove all items from D. """ 753         pass 754  755     def copy(self): # real signature unknown; restored from __doc__ 756         """ D.copy() -> a shallow copy of D """ 757         pass 758  759     @staticmethod # known case 760     def fromkeys(S, v=None): # real signature unknown; restored from __doc__ 761         """ 762         dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v. 763         v defaults to None. 764         """ 765         pass 766  767     def get(self, k, d=None): # real signature unknown; restored from __doc__ 768         """ D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None. """ 769         pass 770  771     def has_key(self, k): # real signature unknown; restored from __doc__ 772         """ D.has_key(k) -> True if D has a key k, else False """ 773         return False 774  775     def items(self): # real signature unknown; restored from __doc__ 776         """ D.items() -> list of D‘s (key, value) pairs, as 2-tuples """ 777         return [] 778  779     def iteritems(self): # real signature unknown; restored from __doc__ 780         """ D.iteritems() -> an iterator over the (key, value) items of D """ 781         pass 782  783     def iterkeys(self): # real signature unknown; restored from __doc__ 784         """ D.iterkeys() -> an iterator over the keys of D """ 785         pass 786  787     def itervalues(self): # real signature unknown; restored from __doc__ 788         """ D.itervalues() -> an iterator over the values of D """ 789         pass 790  791     def keys(self): # real signature unknown; restored from __doc__ 792         """ D.keys() -> list of D‘s keys """ 793         return [] 794  795     def pop(self, k, d=None): # real signature unknown; restored from __doc__ 796         """ 797         D.pop(k[,d]) -> v, remove specified key and return the corresponding value. 798         If key is not found, d is returned if given, otherwise KeyError is raised 799         """ 800         pass 801  802     def popitem(self): # real signature unknown; restored from __doc__ 803         """ 804         D.popitem() -> (k, v), remove and return some (key, value) pair as a 805         2-tuple; but raise KeyError if D is empty. 806         """ 807         pass 808  809     def setdefault(self, k, d=None): # real signature unknown; restored from __doc__ 810         """ D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D """ 811         pass 812  813     def update(self, E=None, **F): # known special case of dict.update 814         """ 815         D.update([E, ]**F) -> None.  Update D from dict/iterable E and F. 816         If E present and has a .keys() method, does:     for k in E: D[k] = E[k] 817         If E present and lacks .keys() method, does:     for (k, v) in E: D[k] = v 818         In either case, this is followed by: for k in F: D[k] = F[k] 819         """ 820         pass 821  822     def values(self): # real signature unknown; restored from __doc__ 823         """ D.values() -> list of D‘s values """ 824         return [] 825  826     def viewitems(self): # real signature unknown; restored from __doc__ 827         """ D.viewitems() -> a set-like object providing a view on D‘s items """ 828         pass 829  830     def viewkeys(self): # real signature unknown; restored from __doc__ 831         """ D.viewkeys() -> a set-like object providing a view on D‘s keys """ 832         pass 833  834     def viewvalues(self): # real signature unknown; restored from __doc__ 835         """ D.viewvalues() -> an object providing a view on D‘s values """ 836         pass 837  838     def __cmp__(self, y): # real signature unknown; restored from __doc__ 839         """ x.__cmp__(y) <==> cmp(x,y) """ 840         pass 841  842     def __contains__(self, k): # real signature unknown; restored from __doc__ 843         """ D.__contains__(k) -> True if D has a key k, else False """ 844         return False 845  846     def __delitem__(self, y): # real signature unknown; restored from __doc__ 847         """ x.__delitem__(y) <==> del x[y] """ 848         pass 849  850     def __eq__(self, y): # real signature unknown; restored from __doc__ 851         """ x.__eq__(y) <==> x==y """ 852         pass 853  854     def __getattribute__(self, name): # real signature unknown; restored from __doc__ 855         """ x.__getattribute__(‘name‘) <==> x.name """ 856         pass 857  858     def __getitem__(self, y): # real signature unknown; restored from __doc__ 859         """ x.__getitem__(y) <==> x[y] """ 860         pass 861  862     def __ge__(self, y): # real signature unknown; restored from __doc__ 863         """ x.__ge__(y) <==> x>=y """ 864         pass 865  866     def __gt__(self, y): # real signature unknown; restored from __doc__ 867         """ x.__gt__(y) <==> x>y """ 868         pass 869  870     def __init__(self, seq=None, **kwargs): # known special case of dict.__init__ 871         """ 872         dict() -> new empty dictionary 873         dict(mapping) -> new dictionary initialized from a mapping object‘s 874             (key, value) pairs 875         dict(iterable) -> new dictionary initialized as if via: 876             d = {} 877             for k, v in iterable: 878                 d[k] = v 879         dict(**kwargs) -> new dictionary initialized with the name=value pairs 880             in the keyword argument list.  For example:  dict(one=1, two=2) 881         # (copied from class doc) 882         """ 883         pass 884  885     def __iter__(self): # real signature unknown; restored from __doc__ 886         """ x.__iter__() <==> iter(x) """ 887         pass 888  889     def __len__(self): # real signature unknown; restored from __doc__ 890         """ x.__len__() <==> len(x) """ 891         pass 892  893     def __le__(self, y): # real signature unknown; restored from __doc__ 894         """ x.__le__(y) <==> x<=y """ 895         pass 896  897     def __lt__(self, y): # real signature unknown; restored from __doc__ 898         """ x.__lt__(y) <==> x<y """ 899         pass 900  901     @staticmethod # known case of __new__ 902     def __new__(S, *more): # real signature unknown; restored from __doc__ 903         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """ 904         pass 905  906     def __ne__(self, y): # real signature unknown; restored from __doc__ 907         """ x.__ne__(y) <==> x!=y """ 908         pass 909  910     def __repr__(self): # real signature unknown; restored from __doc__ 911         """ x.__repr__() <==> repr(x) """ 912         pass 913  914     def __setitem__(self, i, y): # real signature unknown; restored from __doc__ 915         """ x.__setitem__(i, y) <==> x[i]=y """ 916         pass 917  918     def __sizeof__(self): # real signature unknown; restored from __doc__ 919         """ D.__sizeof__() -> size of D in memory, in bytes """ 920         pass 921  922     __hash__ = None 923  924  925 class enumerate(object): 926     """ 927     enumerate(iterable[, start]) -> iterator for index, value of iterable 928      929     Return an enumerate object.  iterable must be another object that supports 930     iteration.  The enumerate object yields pairs containing a count (from 931     start, which defaults to zero) and a value yielded by the iterable argument. 932     enumerate is useful for obtaining an indexed list: 933         (0, seq[0]), (1, seq[1]), (2, seq[2]), ... 934     """ 935     def next(self): # real signature unknown; restored from __doc__ 936         """ x.next() -> the next value, or raise StopIteration """ 937         pass 938  939     def __getattribute__(self, name): # real signature unknown; restored from __doc__ 940         """ x.__getattribute__(‘name‘) <==> x.name """ 941         pass 942  943     def __init__(self, iterable, start=0): # known special case of enumerate.__init__ 944         """ x.__init__(...) initializes x; see help(type(x)) for signature """ 945         pass 946  947     def __iter__(self): # real signature unknown; restored from __doc__ 948         """ x.__iter__() <==> iter(x) """ 949         pass 950  951     @staticmethod # known case of __new__ 952     def __new__(S, *more): # real signature unknown; restored from __doc__ 953         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """ 954         pass 955  956  957 class file(object): 958     """ 959     file(name[, mode[, buffering]]) -> file object 960      961     Open a file.  The mode can be ‘r‘, ‘w‘ or ‘a‘ for reading (default), 962     writing or appending.  The file will be created if it doesn‘t exist 963     when opened for writing or appending; it will be truncated when 964     opened for writing.  Add a ‘b‘ to the mode for binary files. 965     Add a ‘+‘ to the mode to allow simultaneous reading and writing. 966     If the buffering argument is given, 0 means unbuffered, 1 means line 967     buffered, and larger numbers specify the buffer size.  The preferred way 968     to open a file is with the builtin open() function. 969     Add a ‘U‘ to mode to open the file for input with universal newline 970     support.  Any line ending in the input file will be seen as a ‘\n‘ 971     in Python.  Also, a file so opened gains the attribute ‘newlines‘; 972     the value for this attribute is one of None (no newline read yet), 973     ‘\r‘, ‘\n‘, ‘\r\n‘ or a tuple containing all the newline types seen. 974      975     ‘U‘ cannot be combined with ‘w‘ or ‘+‘ mode. 976     """ 977     def close(self): # real signature unknown; restored from __doc__ 978         """ 979         close() -> None or (perhaps) an integer.  Close the file. 980          981         Sets data attribute .closed to True.  A closed file cannot be used for 982         further I/O operations.  close() may be called more than once without 983         error.  Some kinds of file objects (for example, opened by popen()) 984         may return an exit status upon closing. 985         """ 986         pass 987  988     def fileno(self): # real signature unknown; restored from __doc__ 989         """ 990         fileno() -> integer "file descriptor". 991          992         This is needed for lower-level file interfaces, such os.read(). 993         """ 994         return 0 995  996     def flush(self): # real signature unknown; restored from __doc__ 997         """ flush() -> None.  Flush the internal I/O buffer. """ 998         pass 999 1000     def isatty(self): # real signature unknown; restored from __doc__1001         """ isatty() -> true or false.  True if the file is connected to a tty device. """1002         return False1003 1004     def next(self): # real signature unknown; restored from __doc__1005         """ x.next() -> the next value, or raise StopIteration """1006         pass1007 1008     def read(self, size=None): # real signature unknown; restored from __doc__1009         """1010         read([size]) -> read at most size bytes, returned as a string.1011         1012         If the size argument is negative or omitted, read until EOF is reached.1013         Notice that when in non-blocking mode, less data than what was requested1014         may be returned, even if no size parameter was given.1015         """1016         pass1017 1018     def readinto(self): # real signature unknown; restored from __doc__1019         """ readinto() -> Undocumented.  Don‘t use this; it may go away. """1020         pass1021 1022     def readline(self, size=None): # real signature unknown; restored from __doc__1023         """1024         readline([size]) -> next line from the file, as a string.1025         1026         Retain newline.  A non-negative size argument limits the maximum1027         number of bytes to return (an incomplete line may be returned then).1028         Return an empty string at EOF.1029         """1030         pass1031 1032     def readlines(self, size=None): # real signature unknown; restored from __doc__1033         """1034         readlines([size]) -> list of strings, each a line from the file.1035         1036         Call readline() repeatedly and return a list of the lines so read.1037         The optional size argument, if given, is an approximate bound on the1038         total number of bytes in the lines returned.1039         """1040         return []1041 1042     def seek(self, offset, whence=None): # real signature unknown; restored from __doc__1043         """1044         seek(offset[, whence]) -> None.  Move to new file position.1045         1046         Argument offset is a byte count.  Optional argument whence defaults to1047         0 (offset from start of file, offset should be >= 0); other values are 11048         (move relative to current position, positive or negative), and 2 (move1049         relative to end of file, usually negative, although many platforms allow1050         seeking beyond the end of a file).  If the file is opened in text mode,1051         only offsets returned by tell() are legal.  Use of other offsets causes1052         undefined behavior.1053         Note that not all file objects are seekable.1054         """1055         pass1056 1057     def tell(self): # real signature unknown; restored from __doc__1058         """ tell() -> current file position, an integer (may be a long integer). """1059         pass1060 1061     def truncate(self, size=None): # real signature unknown; restored from __doc__1062         """1063         truncate([size]) -> None.  Truncate the file to at most size bytes.1064         1065         Size defaults to the current file position, as returned by tell().1066         """1067         pass1068 1069     def write(self, p_str): # real signature unknown; restored from __doc__1070         """1071         write(str) -> None.  Write string str to file.1072         1073         Note that due to buffering, flush() or close() may be needed before1074         the file on disk reflects the data written.1075         """1076         pass1077 1078     def writelines(self, sequence_of_strings): # real signature unknown; restored from __doc__1079         """1080         writelines(sequence_of_strings) -> None.  Write the strings to the file.1081         1082         Note that newlines are not added.  The sequence can be any iterable object1083         producing strings. This is equivalent to calling write() for each string.1084         """1085         pass1086 1087     def xreadlines(self): # real signature unknown; restored from __doc__1088         """1089         xreadlines() -> returns self.1090         1091         For backward compatibility. File objects now include the performance1092         optimizations previously implemented in the xreadlines module.1093         """1094         pass1095 1096     def __delattr__(self, name): # real signature unknown; restored from __doc__1097         """ x.__delattr__(‘name‘) <==> del x.name """1098         pass1099 1100     def __enter__(self): # real signature unknown; restored from __doc__1101         """ __enter__() -> self. """1102         return self1103 1104     def __exit__(self, *excinfo): # real signature unknown; restored from __doc__1105         """ __exit__(*excinfo) -> None.  Closes the file. """1106         pass1107 1108     def __getattribute__(self, name): # real signature unknown; restored from __doc__1109         """ x.__getattribute__(‘name‘) <==> x.name """1110         pass1111 1112     def __init__(self, name, mode=None, buffering=None): # real signature unknown; restored from __doc__1113         pass1114 1115     def __iter__(self): # real signature unknown; restored from __doc__1116         """ x.__iter__() <==> iter(x) """1117         pass1118 1119     @staticmethod # known case of __new__1120     def __new__(S, *more): # real signature unknown; restored from __doc__1121         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """1122         pass1123 1124     def __repr__(self): # real signature unknown; restored from __doc__1125         """ x.__repr__() <==> repr(x) """1126         pass1127 1128     def __setattr__(self, name, value): # real signature unknown; restored from __doc__1129         """ x.__setattr__(‘name‘, value) <==> x.name = value """1130         pass1131 1132     closed = property(lambda self: True)1133     """True if the file is closed1134 1135     :type: bool1136     """1137 1138     encoding = property(lambda self: ‘‘)1139     """file encoding1140 1141     :type: string1142     """1143 1144     errors = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default1145     """Unicode error handler"""1146 1147     mode = property(lambda self: ‘‘)1148     """file mode (‘r‘, ‘U‘, ‘w‘, ‘a‘, possibly with ‘b‘ or ‘+‘ added)1149 1150     :type: string1151     """1152 1153     name = property(lambda self: ‘‘)1154     """file name1155 1156     :type: string1157     """1158 1159     newlines = property(lambda self: ‘‘)1160     """end-of-line convention used in this file1161 1162     :type: string1163     """1164 1165     softspace = property(lambda self: True)1166     """flag indicating that a space needs to be printed; used by print1167 1168     :type: bool1169     """1170 1171 1172 1173 class float(object):1174     """1175     float(x) -> floating point number1176     1177     Convert a string or number to a floating point number, if possible.1178     """1179     def as_integer_ratio(self): # real signature unknown; restored from __doc__1180         """1181         float.as_integer_ratio() -> (int, int)1182         1183         Return a pair of integers, whose ratio is exactly equal to the original1184         float and with a positive denominator.1185         Raise OverflowError on infinities and a ValueError on NaNs.1186         1187         >>> (10.0).as_integer_ratio()1188         (10, 1)1189         >>> (0.0).as_integer_ratio()1190         (0, 1)1191         >>> (-.25).as_integer_ratio()1192         (-1, 4)1193         """1194         pass1195 1196     def conjugate(self, *args, **kwargs): # real signature unknown1197         """ Return self, the complex conjugate of any float. """1198         pass1199 1200     def fromhex(self, string): # real signature unknown; restored from __doc__1201         """1202         float.fromhex(string) -> float1203         1204         Create a floating-point number from a hexadecimal string.1205         >>> float.fromhex(‘0x1.ffffp10‘)1206         2047.9843751207         >>> float.fromhex(‘-0x1p-1074‘)1208         -4.9406564584124654e-3241209         """1210         return 0.01211 1212     def hex(self): # real signature unknown; restored from __doc__1213         """1214         float.hex() -> string1215         1216         Return a hexadecimal representation of a floating-point number.1217         >>> (-0.1).hex()1218         ‘-0x1.999999999999ap-4‘1219         >>> 3.14159.hex()1220         ‘0x1.921f9f01b866ep+1‘1221         """1222         return ""1223 1224     def is_integer(self, *args, **kwargs): # real signature unknown1225         """ Return True if the float is an integer. """1226         pass1227 1228     def __abs__(self): # real signature unknown; restored from __doc__1229         """ x.__abs__() <==> abs(x) """1230         pass1231 1232     def __add__(self, y): # real signature unknown; restored from __doc__1233         """ x.__add__(y) <==> x+y """1234         pass1235 1236     def __coerce__(self, y): # real signature unknown; restored from __doc__1237         """ x.__coerce__(y) <==> coerce(x, y) """1238         pass1239 1240     def __divmod__(self, y): # real signature unknown; restored from __doc__1241         """ x.__divmod__(y) <==> divmod(x, y) """1242         pass1243 1244     def __div__(self, y): # real signature unknown; restored from __doc__1245         """ x.__div__(y) <==> x/y """1246         pass1247 1248     def __eq__(self, y): # real signature unknown; restored from __doc__1249         """ x.__eq__(y) <==> x==y """1250         pass1251 1252     def __float__(self): # real signature unknown; restored from __doc__1253         """ x.__float__() <==> float(x) """1254         pass1255 1256     def __floordiv__(self, y): # real signature unknown; restored from __doc__1257         """ x.__floordiv__(y) <==> x//y """1258         pass1259 1260     def __format__(self, format_spec): # real signature unknown; restored from __doc__1261         """1262         float.__format__(format_spec) -> string1263         1264         Formats the float according to format_spec.1265         """1266         return ""1267 1268     def __getattribute__(self, name): # real signature unknown; restored from __doc__1269         """ x.__getattribute__(‘name‘) <==> x.name """1270         pass1271 1272     def __getformat__(self, typestr): # real signature unknown; restored from __doc__1273         """1274         float.__getformat__(typestr) -> string1275         1276         You probably don‘t want to use this function.  It exists mainly to be1277         used in Python‘s test suite.1278         1279         typestr must be ‘double‘ or ‘float‘.  This function returns whichever of1280         ‘unknown‘, ‘IEEE, big-endian‘ or ‘IEEE, little-endian‘ best describes the1281         format of floating point numbers used by the C type named by typestr.1282         """1283         return ""1284 1285     def __getnewargs__(self, *args, **kwargs): # real signature unknown1286         pass1287 1288     def __ge__(self, y): # real signature unknown; restored from __doc__1289         """ x.__ge__(y) <==> x>=y """1290         pass1291 1292     def __gt__(self, y): # real signature unknown; restored from __doc__1293         """ x.__gt__(y) <==> x>y """1294         pass1295 1296     def __hash__(self): # real signature unknown; restored from __doc__1297         """ x.__hash__() <==> hash(x) """1298         pass1299 1300     def __init__(self, x): # real signature unknown; restored from __doc__1301         pass1302 1303     def __int__(self): # real signature unknown; restored from __doc__1304         """ x.__int__() <==> int(x) """1305         pass1306 1307     def __le__(self, y): # real signature unknown; restored from __doc__1308         """ x.__le__(y) <==> x<=y """1309         pass1310 1311     def __long__(self): # real signature unknown; restored from __doc__1312         """ x.__long__() <==> long(x) """1313         pass1314 1315     def __lt__(self, y): # real signature unknown; restored from __doc__1316         """ x.__lt__(y) <==> x<y """1317         pass1318 1319     def __mod__(self, y): # real signature unknown; restored from __doc__1320         """ x.__mod__(y) <==> x%y """1321         pass1322 1323     def __mul__(self, y): # real signature unknown; restored from __doc__1324         """ x.__mul__(y) <==> x*y """1325         pass1326 1327     def __neg__(self): # real signature unknown; restored from __doc__1328         """ x.__neg__() <==> -x """1329         pass1330 1331     @staticmethod # known case of __new__1332     def __new__(S, *more): # real signature unknown; restored from __doc__1333         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """1334         pass1335 1336     def __ne__(self, y): # real signature unknown; restored from __doc__1337         """ x.__ne__(y) <==> x!=y """1338         pass1339 1340     def __nonzero__(self): # real signature unknown; restored from __doc__1341         """ x.__nonzero__() <==> x != 0 """1342         pass1343 1344     def __pos__(self): # real signature unknown; restored from __doc__1345         """ x.__pos__() <==> +x """1346         pass1347 1348     def __pow__(self, y, z=None): # real signature unknown; restored from __doc__1349         """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """1350         pass1351 1352     def __radd__(self, y): # real signature unknown; restored from __doc__1353         """ x.__radd__(y) <==> y+x """1354         pass1355 1356     def __rdivmod__(self, y): # real signature unknown; restored from __doc__1357         """ x.__rdivmod__(y) <==> divmod(y, x) """1358         pass1359 1360     def __rdiv__(self, y): # real signature unknown; restored from __doc__1361         """ x.__rdiv__(y) <==> y/x """1362         pass1363 1364     def __repr__(self): # real signature unknown; restored from __doc__1365         """ x.__repr__() <==> repr(x) """1366         pass1367 1368     def __rfloordiv__(self, y): # real signature unknown; restored from __doc__1369         """ x.__rfloordiv__(y) <==> y//x """1370         pass1371 1372     def __rmod__(self, y): # real signature unknown; restored from __doc__1373         """ x.__rmod__(y) <==> y%x """1374         pass1375 1376     def __rmul__(self, y): # real signature unknown; restored from __doc__1377         """ x.__rmul__(y) <==> y*x """1378         pass1379 1380     def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__1381         """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """1382         pass1383 1384     def __rsub__(self, y): # real signature unknown; restored from __doc__1385         """ x.__rsub__(y) <==> y-x """1386         pass1387 1388     def __rtruediv__(self, y): # real signature unknown; restored from __doc__1389         """ x.__rtruediv__(y) <==> y/x """1390         pass1391 1392     def __setformat__(self, typestr, fmt): # real signature unknown; restored from __doc__1393         """1394         float.__setformat__(typestr, fmt) -> None1395         1396         You probably don‘t want to use this function.  It exists mainly to be1397         used in Python‘s test suite.1398         1399         typestr must be ‘double‘ or ‘float‘.  fmt must be one of ‘unknown‘,1400         ‘IEEE, big-endian‘ or ‘IEEE, little-endian‘, and in addition can only be1401         one of the latter two if it appears to match the underlying C reality.1402         1403         Override the automatic determination of C-level floating point type.1404         This affects how floats are converted to and from binary strings.1405         """1406         pass1407 1408     def __str__(self): # real signature unknown; restored from __doc__1409         """ x.__str__() <==> str(x) """1410         pass1411 1412     def __sub__(self, y): # real signature unknown; restored from __doc__1413         """ x.__sub__(y) <==> x-y """1414         pass1415 1416     def __truediv__(self, y): # real signature unknown; restored from __doc__1417         """ x.__truediv__(y) <==> x/y """1418         pass1419 1420     def __trunc__(self, *args, **kwargs): # real signature unknown1421         """ Return the Integral closest to x between 0 and x. """1422         pass1423 1424     imag = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default1425     """the imaginary part of a complex number"""1426 1427     real = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default1428     """the real part of a complex number"""1429 1430 1431 1432 class frozenset(object):1433     """1434     frozenset() -> empty frozenset object1435     frozenset(iterable) -> frozenset object1436     1437     Build an immutable unordered collection of unique elements.1438     """1439     def copy(self, *args, **kwargs): # real signature unknown1440         """ Return a shallow copy of a set. """1441         pass1442 1443     def difference(self, *args, **kwargs): # real signature unknown1444         """1445         Return the difference of two or more sets as a new set.1446         1447         (i.e. all elements that are in this set but not the others.)1448         """1449         pass1450 1451     def intersection(self, *args, **kwargs): # real signature unknown1452         """1453         Return the intersection of two or more sets as a new set.1454         1455         (i.e. elements that are common to all of the sets.)1456         """1457         pass1458 1459     def isdisjoint(self, *args, **kwargs): # real signature unknown1460         """ Return True if two sets have a null intersection. """1461         pass1462 1463     def issubset(self, *args, **kwargs): # real signature unknown1464         """ Report whether another set contains this set. """1465         pass1466 1467     def issuperset(self, *args, **kwargs): # real signature unknown1468         """ Report whether this set contains another set. """1469         pass1470 1471     def symmetric_difference(self, *args, **kwargs): # real signature unknown1472         """1473         Return the symmetric difference of two sets as a new set.1474         1475         (i.e. all elements that are in exactly one of the sets.)1476         """1477         pass1478 1479     def union(self, *args, **kwargs): # real signature unknown1480         """1481         Return the union of sets as a new set.1482         1483         (i.e. all elements that are in either set.)1484         """1485         pass1486 1487     def __and__(self, y): # real signature unknown; restored from __doc__1488         """ x.__and__(y) <==> x&y """1489         pass1490 1491     def __cmp__(self, y): # real signature unknown; restored from __doc__1492         """ x.__cmp__(y) <==> cmp(x,y) """1493         pass1494 1495     def __contains__(self, y): # real signature unknown; restored from __doc__1496         """ x.__contains__(y) <==> y in x. """1497         pass1498 1499     def __eq__(self, y): # real signature unknown; restored from __doc__1500         """ x.__eq__(y) <==> x==y """1501         pass1502 1503     def __getattribute__(self, name): # real signature unknown; restored from __doc__1504         """ x.__getattribute__(‘name‘) <==> x.name """1505         pass1506 1507     def __ge__(self, y): # real signature unknown; restored from __doc__1508         """ x.__ge__(y) <==> x>=y """1509         pass1510 1511     def __gt__(self, y): # real signature unknown; restored from __doc__1512         """ x.__gt__(y) <==> x>y """1513         pass1514 1515     def __hash__(self): # real signature unknown; restored from __doc__1516         """ x.__hash__() <==> hash(x) """1517         pass1518 1519     def __init__(self, seq=()): # known special case of frozenset.__init__1520         """ x.__init__(...) initializes x; see help(type(x)) for signature """1521         pass1522 1523     def __iter__(self): # real signature unknown; restored from __doc__1524         """ x.__iter__() <==> iter(x) """1525         pass1526 1527     def __len__(self): # real signature unknown; restored from __doc__1528         """ x.__len__() <==> len(x) """1529         pass1530 1531     def __le__(self, y): # real signature unknown; restored from __doc__1532         """ x.__le__(y) <==> x<=y """1533         pass1534 1535     def __lt__(self, y): # real signature unknown; restored from __doc__1536         """ x.__lt__(y) <==> x<y """1537         pass1538 1539     @staticmethod # known case of __new__1540     def __new__(S, *more): # real signature unknown; restored from __doc__1541         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """1542         pass1543 1544     def __ne__(self, y): # real signature unknown; restored from __doc__1545         """ x.__ne__(y) <==> x!=y """1546         pass1547 1548     def __or__(self, y): # real signature unknown; restored from __doc__1549         """ x.__or__(y) <==> x|y """1550         pass1551 1552     def __rand__(self, y): # real signature unknown; restored from __doc__1553         """ x.__rand__(y) <==> y&x """1554         pass1555 1556     def __reduce__(self, *args, **kwargs): # real signature unknown1557         """ Return state information for pickling. """1558         pass1559 1560     def __repr__(self): # real signature unknown; restored from __doc__1561         """ x.__repr__() <==> repr(x) """1562         pass1563 1564     def __ror__(self, y): # real signature unknown; restored from __doc__1565         """ x.__ror__(y) <==> y|x """1566         pass1567 1568     def __rsub__(self, y): # real signature unknown; restored from __doc__1569         """ x.__rsub__(y) <==> y-x """1570         pass1571 1572     def __rxor__(self, y): # real signature unknown; restored from __doc__1573         """ x.__rxor__(y) <==> y^x """1574         pass1575 1576     def __sizeof__(self): # real signature unknown; restored from __doc__1577         """ S.__sizeof__() -> size of S in memory, in bytes """1578         pass1579 1580     def __sub__(self, y): # real signature unknown; restored from __doc__1581         """ x.__sub__(y) <==> x-y """1582         pass1583 1584     def __xor__(self, y): # real signature unknown; restored from __doc__1585         """ x.__xor__(y) <==> x^y """1586         pass1587 1588 1589 class list(object):1590     """1591     list() -> new empty list1592     list(iterable) -> new list initialized from iterable‘s items1593     """1594     def append(self, p_object): # real signature unknown; restored from __doc__1595         """ L.append(object) -- append object to end """1596         pass1597 1598     def count(self, value): # real signature unknown; restored from __doc__1599         """ L.count(value) -> integer -- return number of occurrences of value """1600         return 01601 1602     def extend(self, iterable): # real signature unknown; restored from __doc__1603         """ L.extend(iterable) -- extend list by appending elements from the iterable """1604         pass1605 1606     def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__1607         """1608         L.index(value, [start, [stop]]) -> integer -- return first index of value.1609         Raises ValueError if the value is not present.1610         """1611         return 01612 1613     def insert(self, index, p_object): # real signature unknown; restored from __doc__1614         """ L.insert(index, object) -- insert object before index """1615         pass1616 1617     def pop(self, index=None): # real signature unknown; restored from __doc__1618         """1619         L.pop([index]) -> item -- remove and return item at index (default last).1620         Raises IndexError if list is empty or index is out of range.1621         """1622         pass1623 1624     def remove(self, value): # real signature unknown; restored from __doc__1625         """1626         L.remove(value) -- remove first occurrence of value.1627         Raises ValueError if the value is not present.1628         """1629         pass1630 1631     def reverse(self): # real signature unknown; restored from __doc__1632         """ L.reverse() -- reverse *IN PLACE* """1633         pass1634 1635     def sort(self, cmp=None, key=None, reverse=False): # real signature unknown; restored from __doc__1636         """1637         L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;1638         cmp(x, y) -> -1, 0, 11639         """1640         pass1641 1642     def __add__(self, y): # real signature unknown; restored from __doc__1643         """ x.__add__(y) <==> x+y """1644         pass1645 1646     def __contains__(self, y): # real signature unknown; restored from __doc__1647         """ x.__contains__(y) <==> y in x """1648         pass1649 1650     def __delitem__(self, y): # real signature unknown; restored from __doc__1651         """ x.__delitem__(y) <==> del x[y] """1652         pass1653 1654     def __delslice__(self, i, j): # real signature unknown; restored from __doc__1655         """1656         x.__delslice__(i, j) <==> del x[i:j]1657                    1658                    Use of negative indices is not supported.1659         """1660         pass1661 1662     def __eq__(self, y): # real signature unknown; restored from __doc__1663         """ x.__eq__(y) <==> x==y """1664         pass1665 1666     def __getattribute__(self, name): # real signature unknown; restored from __doc__1667         """ x.__getattribute__(‘name‘) <==> x.name """1668         pass1669 1670     def __getitem__(self, y): # real signature unknown; restored from __doc__1671         """ x.__getitem__(y) <==> x[y] """1672         pass1673 1674     def __getslice__(self, i, j): # real signature unknown; restored from __doc__1675         """1676         x.__getslice__(i, j) <==> x[i:j]1677                    1678                    Use of negative indices is not supported.1679         """1680         pass1681 1682     def __ge__(self, y): # real signature unknown; restored from __doc__1683         """ x.__ge__(y) <==> x>=y """1684         pass1685 1686     def __gt__(self, y): # real signature unknown; restored from __doc__1687         """ x.__gt__(y) <==> x>y """1688         pass1689 1690     def __iadd__(self, y): # real signature unknown; restored from __doc__1691         """ x.__iadd__(y) <==> x+=y """1692         pass1693 1694     def __imul__(self, y): # real signature unknown; restored from __doc__1695         """ x.__imul__(y) <==> x*=y """1696         pass1697 1698     def __init__(self, seq=()): # known special case of list.__init__1699         """1700         list() -> new empty list1701         list(iterable) -> new list initialized from iterable‘s items1702         # (copied from class doc)1703         """1704         pass1705 1706     def __iter__(self): # real signature unknown; restored from __doc__1707         """ x.__iter__() <==> iter(x) """1708         pass1709 1710     def __len__(self): # real signature unknown; restored from __doc__1711         """ x.__len__() <==> len(x) """1712         pass1713 1714     def __le__(self, y): # real signature unknown; restored from __doc__1715         """ x.__le__(y) <==> x<=y """1716         pass1717 1718     def __lt__(self, y): # real signature unknown; restored from __doc__1719         """ x.__lt__(y) <==> x<y """1720         pass1721 1722     def __mul__(self, n): # real signature unknown; restored from __doc__1723         """ x.__mul__(n) <==> x*n """1724         pass1725 1726     @staticmethod # known case of __new__1727     def __new__(S, *more): # real signature unknown; restored from __doc__1728         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """1729         pass1730 1731     def __ne__(self, y): # real signature unknown; restored from __doc__1732         """ x.__ne__(y) <==> x!=y """1733         pass1734 1735     def __repr__(self): # real signature unknown; restored from __doc__1736         """ x.__repr__() <==> repr(x) """1737         pass1738 1739     def __reversed__(self): # real signature unknown; restored from __doc__1740         """ L.__reversed__() -- return a reverse iterator over the list """1741         pass1742 1743     def __rmul__(self, n): # real signature unknown; restored from __doc__1744         """ x.__rmul__(n) <==> n*x """1745         pass1746 1747     def __setitem__(self, i, y): # real signature unknown; restored from __doc__1748         """ x.__setitem__(i, y) <==> x[i]=y """1749         pass1750 1751     def __setslice__(self, i, j, y): # real signature unknown; restored from __doc__1752         """1753         x.__setslice__(i, j, y) <==> x[i:j]=y1754                    1755                    Use  of negative indices is not supported.1756         """1757         pass1758 1759     def __sizeof__(self): # real signature unknown; restored from __doc__1760         """ L.__sizeof__() -- size of L in memory, in bytes """1761         pass1762 1763     __hash__ = None1764 1765 1766 class long(object):1767     """1768     long(x=0) -> long1769     long(x, base=10) -> long1770     1771     Convert a number or string to a long integer, or return 0L if no arguments1772     are given.  If x is floating point, the conversion truncates towards zero.1773     1774     If x is not a number or if base is given, then x must be a string or1775     Unicode object representing an integer literal in the given base.  The1776     literal can be preceded by ‘+‘ or ‘-‘ and be surrounded by whitespace.1777     The base defaults to 10.  Valid bases are 0 and 2-36.  Base 0 means to1778     interpret the base from the string as an integer literal.1779     >>> int(‘0b100‘, base=0)1780     4L1781     """1782     def bit_length(self): # real signature unknown; restored from __doc__1783         """1784         long.bit_length() -> int or long1785         1786         Number of bits necessary to represent self in binary.1787         >>> bin(37L)1788         ‘0b100101‘1789         >>> (37L).bit_length()1790         61791         """1792         return 01793 1794     def conjugate(self, *args, **kwargs): # real signature unknown1795         """ Returns self, the complex conjugate of any long. """1796         pass1797 1798     def __abs__(self): # real signature unknown; restored from __doc__1799         """ x.__abs__() <==> abs(x) """1800         pass1801 1802     def __add__(self, y): # real signature unknown; restored from __doc__1803         """ x.__add__(y) <==> x+y """1804         pass1805 1806     def __and__(self, y): # real signature unknown; restored from __doc__1807         """ x.__and__(y) <==> x&y """1808         pass1809 1810     def __cmp__(self, y): # real signature unknown; restored from __doc__1811         """ x.__cmp__(y) <==> cmp(x,y) """1812         pass1813 1814     def __coerce__(self, y): # real signature unknown; restored from __doc__1815         """ x.__coerce__(y) <==> coerce(x, y) """1816         pass1817 1818     def __divmod__(self, y): # real signature unknown; restored from __doc__1819         """ x.__divmod__(y) <==> divmod(x, y) """1820         pass1821 1822     def __div__(self, y): # real signature unknown; restored from __doc__1823         """ x.__div__(y) <==> x/y """1824         pass1825 1826     def __float__(self): # real signature unknown; restored from __doc__1827         """ x.__float__() <==> float(x) """1828         pass1829 1830     def __floordiv__(self, y): # real signature unknown; restored from __doc__1831         """ x.__floordiv__(y) <==> x//y """1832         pass1833 1834     def __format__(self, *args, **kwargs): # real signature unknown1835         pass1836 1837     def __getattribute__(self, name): # real signature unknown; restored from __doc__1838         """ x.__getattribute__(‘name‘) <==> x.name """1839         pass1840 1841     def __getnewargs__(self, *args, **kwargs): # real signature unknown1842         pass1843 1844     def __hash__(self): # real signature unknown; restored from __doc__1845         """ x.__hash__() <==> hash(x) """1846         pass1847 1848     def __hex__(self): # real signature unknown; restored from __doc__1849         """ x.__hex__() <==> hex(x) """1850         pass1851 1852     def __index__(self): # real signature unknown; restored from __doc__1853         """ x[y:z] <==> x[y.__index__():z.__index__()] """1854         pass1855 1856     def __init__(self, x=0): # real signature unknown; restored from __doc__1857         pass1858 1859     def __int__(self): # real signature unknown; restored from __doc__1860         """ x.__int__() <==> int(x) """1861         pass1862 1863     def __invert__(self): # real signature unknown; restored from __doc__1864         """ x.__invert__() <==> ~x """1865         pass1866 1867     def __long__(self): # real signature unknown; restored from __doc__1868         """ x.__long__() <==> long(x) """1869         pass1870 1871     def __lshift__(self, y): # real signature unknown; restored from __doc__1872         """ x.__lshift__(y) <==> x<<y """1873         pass1874 1875     def __mod__(self, y): # real signature unknown; restored from __doc__1876         """ x.__mod__(y) <==> x%y """1877         pass1878 1879     def __mul__(self, y): # real signature unknown; restored from __doc__1880         """ x.__mul__(y) <==> x*y """1881         pass1882 1883     def __neg__(self): # real signature unknown; restored from __doc__1884         """ x.__neg__() <==> -x """1885         pass1886 1887     @staticmethod # known case of __new__1888     def __new__(S, *more): # real signature unknown; restored from __doc__1889         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """1890         pass1891 1892     def __nonzero__(self): # real signature unknown; restored from __doc__1893         """ x.__nonzero__() <==> x != 0 """1894         pass1895 1896     def __oct__(self): # real signature unknown; restored from __doc__1897         """ x.__oct__() <==> oct(x) """1898         pass1899 1900     def __or__(self, y): # real signature unknown; restored from __doc__1901         """ x.__or__(y) <==> x|y """1902         pass1903 1904     def __pos__(self): # real signature unknown; restored from __doc__1905         """ x.__pos__() <==> +x """1906         pass1907 1908     def __pow__(self, y, z=None): # real signature unknown; restored from __doc__1909         """ x.__pow__(y[, z]) <==> pow(x, y[, z]) """1910         pass1911 1912     def __radd__(self, y): # real signature unknown; restored from __doc__1913         """ x.__radd__(y) <==> y+x """1914         pass1915 1916     def __rand__(self, y): # real signature unknown; restored from __doc__1917         """ x.__rand__(y) <==> y&x """1918         pass1919 1920     def __rdivmod__(self, y): # real signature unknown; restored from __doc__1921         """ x.__rdivmod__(y) <==> divmod(y, x) """1922         pass1923 1924     def __rdiv__(self, y): # real signature unknown; restored from __doc__1925         """ x.__rdiv__(y) <==> y/x """1926         pass1927 1928     def __repr__(self): # real signature unknown; restored from __doc__1929         """ x.__repr__() <==> repr(x) """1930         pass1931 1932     def __rfloordiv__(self, y): # real signature unknown; restored from __doc__1933         """ x.__rfloordiv__(y) <==> y//x """1934         pass1935 1936     def __rlshift__(self, y): # real signature unknown; restored from __doc__1937         """ x.__rlshift__(y) <==> y<<x """1938         pass1939 1940     def __rmod__(self, y): # real signature unknown; restored from __doc__1941         """ x.__rmod__(y) <==> y%x """1942         pass1943 1944     def __rmul__(self, y): # real signature unknown; restored from __doc__1945         """ x.__rmul__(y) <==> y*x """1946         pass1947 1948     def __ror__(self, y): # real signature unknown; restored from __doc__1949         """ x.__ror__(y) <==> y|x """1950         pass1951 1952     def __rpow__(self, x, z=None): # real signature unknown; restored from __doc__1953         """ y.__rpow__(x[, z]) <==> pow(x, y[, z]) """1954         pass1955 1956     def __rrshift__(self, y): # real signature unknown; restored from __doc__1957         """ x.__rrshift__(y) <==> y>>x """1958         pass1959 1960     def __rshift__(self, y): # real signature unknown; restored from __doc__1961         """ x.__rshift__(y) <==> x>>y """1962         pass1963 1964     def __rsub__(self, y): # real signature unknown; restored from __doc__1965         """ x.__rsub__(y) <==> y-x """1966         pass1967 1968     def __rtruediv__(self, y): # real signature unknown; restored from __doc__1969         """ x.__rtruediv__(y) <==> y/x """1970         pass1971 1972     def __rxor__(self, y): # real signature unknown; restored from __doc__1973         """ x.__rxor__(y) <==> y^x """1974         pass1975 1976     def __sizeof__(self, *args, **kwargs): # real signature unknown1977         """ Returns size in memory, in bytes """1978         pass1979 1980     def __str__(self): # real signature unknown; restored from __doc__1981         """ x.__str__() <==> str(x) """1982         pass1983 1984     def __sub__(self, y): # real signature unknown; restored from __doc__1985         """ x.__sub__(y) <==> x-y """1986         pass1987 1988     def __truediv__(self, y): # real signature unknown; restored from __doc__1989         """ x.__truediv__(y) <==> x/y """1990         pass1991 1992     def __trunc__(self, *args, **kwargs): # real signature unknown1993         """ Truncating an Integral returns itself. """1994         pass1995 1996     def __xor__(self, y): # real signature unknown; restored from __doc__1997         """ x.__xor__(y) <==> x^y """1998         pass1999 2000     denominator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2001     """the denominator of a rational number in lowest terms"""2002 2003     imag = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2004     """the imaginary part of a complex number"""2005 2006     numerator = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2007     """the numerator of a rational number in lowest terms"""2008 2009     real = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2010     """the real part of a complex number"""2011 2012 2013 2014 class memoryview(object):2015     """2016     memoryview(object)2017     2018     Create a new memoryview object which references the given object.2019     """2020     def tobytes(self, *args, **kwargs): # real signature unknown2021         pass2022 2023     def tolist(self, *args, **kwargs): # real signature unknown2024         pass2025 2026     def __delitem__(self, y): # real signature unknown; restored from __doc__2027         """ x.__delitem__(y) <==> del x[y] """2028         pass2029 2030     def __eq__(self, y): # real signature unknown; restored from __doc__2031         """ x.__eq__(y) <==> x==y """2032         pass2033 2034     def __getattribute__(self, name): # real signature unknown; restored from __doc__2035         """ x.__getattribute__(‘name‘) <==> x.name """2036         pass2037 2038     def __getitem__(self, y): # real signature unknown; restored from __doc__2039         """ x.__getitem__(y) <==> x[y] """2040         pass2041 2042     def __ge__(self, y): # real signature unknown; restored from __doc__2043         """ x.__ge__(y) <==> x>=y """2044         pass2045 2046     def __gt__(self, y): # real signature unknown; restored from __doc__2047         """ x.__gt__(y) <==> x>y """2048         pass2049 2050     def __init__(self, p_object): # real signature unknown; restored from __doc__2051         pass2052 2053     def __len__(self): # real signature unknown; restored from __doc__2054         """ x.__len__() <==> len(x) """2055         pass2056 2057     def __le__(self, y): # real signature unknown; restored from __doc__2058         """ x.__le__(y) <==> x<=y """2059         pass2060 2061     def __lt__(self, y): # real signature unknown; restored from __doc__2062         """ x.__lt__(y) <==> x<y """2063         pass2064 2065     @staticmethod # known case of __new__2066     def __new__(S, *more): # real signature unknown; restored from __doc__2067         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2068         pass2069 2070     def __ne__(self, y): # real signature unknown; restored from __doc__2071         """ x.__ne__(y) <==> x!=y """2072         pass2073 2074     def __repr__(self): # real signature unknown; restored from __doc__2075         """ x.__repr__() <==> repr(x) """2076         pass2077 2078     def __setitem__(self, i, y): # real signature unknown; restored from __doc__2079         """ x.__setitem__(i, y) <==> x[i]=y """2080         pass2081 2082     format = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2083 2084     itemsize = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2085 2086     ndim = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2087 2088     readonly = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2089 2090     shape = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2091 2092     strides = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2093 2094     suboffsets = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2095 2096 2097 2098 class property(object):2099     """2100     property(fget=None, fset=None, fdel=None, doc=None) -> property attribute2101     2102     fget is a function to be used for getting an attribute value, and likewise2103     fset is a function for setting, and fdel a function for del‘ing, an2104     attribute.  Typical use is to define a managed attribute x:2105     2106     class C(object):2107         def getx(self): return self._x2108         def setx(self, value): self._x = value2109         def delx(self): del self._x2110         x = property(getx, setx, delx, "I‘m the ‘x‘ property.")2111     2112     Decorators make defining new properties or modifying existing ones easy:2113     2114     class C(object):2115         @property2116         def x(self):2117             "I am the ‘x‘ property."2118             return self._x2119         @x.setter2120         def x(self, value):2121             self._x = value2122         @x.deleter2123         def x(self):2124             del self._x2125     """2126     def deleter(self, *args, **kwargs): # real signature unknown2127         """ Descriptor to change the deleter on a property. """2128         pass2129 2130     def getter(self, *args, **kwargs): # real signature unknown2131         """ Descriptor to change the getter on a property. """2132         pass2133 2134     def setter(self, *args, **kwargs): # real signature unknown2135         """ Descriptor to change the setter on a property. """2136         pass2137 2138     def __delete__(self, obj): # real signature unknown; restored from __doc__2139         """ descr.__delete__(obj) """2140         pass2141 2142     def __getattribute__(self, name): # real signature unknown; restored from __doc__2143         """ x.__getattribute__(‘name‘) <==> x.name """2144         pass2145 2146     def __get__(self, obj, type=None): # real signature unknown; restored from __doc__2147         """ descr.__get__(obj[, type]) -> value """2148         pass2149 2150     def __init__(self, fget=None, fset=None, fdel=None, doc=None): # known special case of property.__init__2151         """2152         property(fget=None, fset=None, fdel=None, doc=None) -> property attribute2153         2154         fget is a function to be used for getting an attribute value, and likewise2155         fset is a function for setting, and fdel a function for del‘ing, an2156         attribute.  Typical use is to define a managed attribute x:2157         2158         class C(object):2159             def getx(self): return self._x2160             def setx(self, value): self._x = value2161             def delx(self): del self._x2162             x = property(getx, setx, delx, "I‘m the ‘x‘ property.")2163         2164         Decorators make defining new properties or modifying existing ones easy:2165         2166         class C(object):2167             @property2168             def x(self):2169                 "I am the ‘x‘ property."2170                 return self._x2171             @x.setter2172             def x(self, value):2173                 self._x = value2174             @x.deleter2175             def x(self):2176                 del self._x2177         2178         # (copied from class doc)2179         """2180         pass2181 2182     @staticmethod # known case of __new__2183     def __new__(S, *more): # real signature unknown; restored from __doc__2184         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2185         pass2186 2187     def __set__(self, obj, value): # real signature unknown; restored from __doc__2188         """ descr.__set__(obj, value) """2189         pass2190 2191     fdel = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2192 2193     fget = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2194 2195     fset = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2196 2197 2198 2199 class reversed(object):2200     """2201     reversed(sequence) -> reverse iterator over values of the sequence2202     2203     Return a reverse iterator2204     """2205     def next(self): # real signature unknown; restored from __doc__2206         """ x.next() -> the next value, or raise StopIteration """2207         pass2208 2209     def __getattribute__(self, name): # real signature unknown; restored from __doc__2210         """ x.__getattribute__(‘name‘) <==> x.name """2211         pass2212 2213     def __init__(self, sequence): # real signature unknown; restored from __doc__2214         pass2215 2216     def __iter__(self): # real signature unknown; restored from __doc__2217         """ x.__iter__() <==> iter(x) """2218         pass2219 2220     def __length_hint__(self, *args, **kwargs): # real signature unknown2221         """ Private method returning an estimate of len(list(it)). """2222         pass2223 2224     @staticmethod # known case of __new__2225     def __new__(S, *more): # real signature unknown; restored from __doc__2226         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2227         pass2228 2229 2230 class set(object):2231     """2232     set() -> new empty set object2233     set(iterable) -> new set object2234     2235     Build an unordered collection of unique elements.2236     """2237     def add(self, *args, **kwargs): # real signature unknown2238         """2239         Add an element to a set.2240         2241         This has no effect if the element is already present.2242         """2243         pass2244 2245     def clear(self, *args, **kwargs): # real signature unknown2246         """ Remove all elements from this set. """2247         pass2248 2249     def copy(self, *args, **kwargs): # real signature unknown2250         """ Return a shallow copy of a set. """2251         pass2252 2253     def difference(self, *args, **kwargs): # real signature unknown2254         """2255         Return the difference of two or more sets as a new set.2256         2257         (i.e. all elements that are in this set but not the others.)2258         """2259         pass2260 2261     def difference_update(self, *args, **kwargs): # real signature unknown2262         """ Remove all elements of another set from this set. """2263         pass2264 2265     def discard(self, *args, **kwargs): # real signature unknown2266         """2267         Remove an element from a set if it is a member.2268         2269         If the element is not a member, do nothing.2270         """2271         pass2272 2273     def intersection(self, *args, **kwargs): # real signature unknown2274         """2275         Return the intersection of two or more sets as a new set.2276         2277         (i.e. elements that are common to all of the sets.)2278         """2279         pass2280 2281     def intersection_update(self, *args, **kwargs): # real signature unknown2282         """ Update a set with the intersection of itself and another. """2283         pass2284 2285     def isdisjoint(self, *args, **kwargs): # real signature unknown2286         """ Return True if two sets have a null intersection. """2287         pass2288 2289     def issubset(self, *args, **kwargs): # real signature unknown2290         """ Report whether another set contains this set. """2291         pass2292 2293     def issuperset(self, *args, **kwargs): # real signature unknown2294         """ Report whether this set contains another set. """2295         pass2296 2297     def pop(self, *args, **kwargs): # real signature unknown2298         """2299         Remove and return an arbitrary set element.2300         Raises KeyError if the set is empty.2301         """2302         pass2303 2304     def remove(self, *args, **kwargs): # real signature unknown2305         """2306         Remove an element from a set; it must be a member.2307         2308         If the element is not a member, raise a KeyError.2309         """2310         pass2311 2312     def symmetric_difference(self, *args, **kwargs): # real signature unknown2313         """2314         Return the symmetric difference of two sets as a new set.2315         2316         (i.e. all elements that are in exactly one of the sets.)2317         """2318         pass2319 2320     def symmetric_difference_update(self, *args, **kwargs): # real signature unknown2321         """ Update a set with the symmetric difference of itself and another. """2322         pass2323 2324     def union(self, *args, **kwargs): # real signature unknown2325         """2326         Return the union of sets as a new set.2327         2328         (i.e. all elements that are in either set.)2329         """2330         pass2331 2332     def update(self, *args, **kwargs): # real signature unknown2333         """ Update a set with the union of itself and others. """2334         pass2335 2336     def __and__(self, y): # real signature unknown; restored from __doc__2337         """ x.__and__(y) <==> x&y """2338         pass2339 2340     def __cmp__(self, y): # real signature unknown; restored from __doc__2341         """ x.__cmp__(y) <==> cmp(x,y) """2342         pass2343 2344     def __contains__(self, y): # real signature unknown; restored from __doc__2345         """ x.__contains__(y) <==> y in x. """2346         pass2347 2348     def __eq__(self, y): # real signature unknown; restored from __doc__2349         """ x.__eq__(y) <==> x==y """2350         pass2351 2352     def __getattribute__(self, name): # real signature unknown; restored from __doc__2353         """ x.__getattribute__(‘name‘) <==> x.name """2354         pass2355 2356     def __ge__(self, y): # real signature unknown; restored from __doc__2357         """ x.__ge__(y) <==> x>=y """2358         pass2359 2360     def __gt__(self, y): # real signature unknown; restored from __doc__2361         """ x.__gt__(y) <==> x>y """2362         pass2363 2364     def __iand__(self, y): # real signature unknown; restored from __doc__2365         """ x.__iand__(y) <==> x&=y """2366         pass2367 2368     def __init__(self, seq=()): # known special case of set.__init__2369         """2370         set() -> new empty set object2371         set(iterable) -> new set object2372         2373         Build an unordered collection of unique elements.2374         # (copied from class doc)2375         """2376         pass2377 2378     def __ior__(self, y): # real signature unknown; restored from __doc__2379         """ x.__ior__(y) <==> x|=y """2380         pass2381 2382     def __isub__(self, y): # real signature unknown; restored from __doc__2383         """ x.__isub__(y) <==> x-=y """2384         pass2385 2386     def __iter__(self): # real signature unknown; restored from __doc__2387         """ x.__iter__() <==> iter(x) """2388         pass2389 2390     def __ixor__(self, y): # real signature unknown; restored from __doc__2391         """ x.__ixor__(y) <==> x^=y """2392         pass2393 2394     def __len__(self): # real signature unknown; restored from __doc__2395         """ x.__len__() <==> len(x) """2396         pass2397 2398     def __le__(self, y): # real signature unknown; restored from __doc__2399         """ x.__le__(y) <==> x<=y """2400         pass2401 2402     def __lt__(self, y): # real signature unknown; restored from __doc__2403         """ x.__lt__(y) <==> x<y """2404         pass2405 2406     @staticmethod # known case of __new__2407     def __new__(S, *more): # real signature unknown; restored from __doc__2408         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2409         pass2410 2411     def __ne__(self, y): # real signature unknown; restored from __doc__2412         """ x.__ne__(y) <==> x!=y """2413         pass2414 2415     def __or__(self, y): # real signature unknown; restored from __doc__2416         """ x.__or__(y) <==> x|y """2417         pass2418 2419     def __rand__(self, y): # real signature unknown; restored from __doc__2420         """ x.__rand__(y) <==> y&x """2421         pass2422 2423     def __reduce__(self, *args, **kwargs): # real signature unknown2424         """ Return state information for pickling. """2425         pass2426 2427     def __repr__(self): # real signature unknown; restored from __doc__2428         """ x.__repr__() <==> repr(x) """2429         pass2430 2431     def __ror__(self, y): # real signature unknown; restored from __doc__2432         """ x.__ror__(y) <==> y|x """2433         pass2434 2435     def __rsub__(self, y): # real signature unknown; restored from __doc__2436         """ x.__rsub__(y) <==> y-x """2437         pass2438 2439     def __rxor__(self, y): # real signature unknown; restored from __doc__2440         """ x.__rxor__(y) <==> y^x """2441         pass2442 2443     def __sizeof__(self): # real signature unknown; restored from __doc__2444         """ S.__sizeof__() -> size of S in memory, in bytes """2445         pass2446 2447     def __sub__(self, y): # real signature unknown; restored from __doc__2448         """ x.__sub__(y) <==> x-y """2449         pass2450 2451     def __xor__(self, y): # real signature unknown; restored from __doc__2452         """ x.__xor__(y) <==> x^y """2453         pass2454 2455     __hash__ = None2456 2457 2458 class slice(object):2459     """2460     slice(stop)2461     slice(start, stop[, step])2462     2463     Create a slice object.  This is used for extended slicing (e.g. a[0:10:2]).2464     """2465     def indices(self, len): # real signature unknown; restored from __doc__2466         """2467         S.indices(len) -> (start, stop, stride)2468         2469         Assuming a sequence of length len, calculate the start and stop2470         indices, and the stride length of the extended slice described by2471         S. Out of bounds indices are clipped in a manner consistent with the2472         handling of normal slices.2473         """2474         pass2475 2476     def __cmp__(self, y): # real signature unknown; restored from __doc__2477         """ x.__cmp__(y) <==> cmp(x,y) """2478         pass2479 2480     def __getattribute__(self, name): # real signature unknown; restored from __doc__2481         """ x.__getattribute__(‘name‘) <==> x.name """2482         pass2483 2484     def __hash__(self): # real signature unknown; restored from __doc__2485         """ x.__hash__() <==> hash(x) """2486         pass2487 2488     def __init__(self, stop): # real signature unknown; restored from __doc__2489         pass2490 2491     @staticmethod # known case of __new__2492     def __new__(S, *more): # real signature unknown; restored from __doc__2493         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2494         pass2495 2496     def __reduce__(self, *args, **kwargs): # real signature unknown2497         """ Return state information for pickling. """2498         pass2499 2500     def __repr__(self): # real signature unknown; restored from __doc__2501         """ x.__repr__() <==> repr(x) """2502         pass2503 2504     start = property(lambda self: 0)2505     """:type: int"""2506 2507     step = property(lambda self: 0)2508     """:type: int"""2509 2510     stop = property(lambda self: 0)2511     """:type: int"""2512 2513 2514 2515 class staticmethod(object):2516     """2517     staticmethod(function) -> method2518     2519     Convert a function to be a static method.2520     2521     A static method does not receive an implicit first argument.2522     To declare a static method, use this idiom:2523     2524          class C:2525          def f(arg1, arg2, ...): ...2526          f = staticmethod(f)2527     2528     It can be called either on the class (e.g. C.f()) or on an instance2529     (e.g. C().f()).  The instance is ignored except for its class.2530     2531     Static methods in Python are similar to those found in Java or C++.2532     For a more advanced concept, see the classmethod builtin.2533     """2534     def __getattribute__(self, name): # real signature unknown; restored from __doc__2535         """ x.__getattribute__(‘name‘) <==> x.name """2536         pass2537 2538     def __get__(self, obj, type=None): # real signature unknown; restored from __doc__2539         """ descr.__get__(obj[, type]) -> value """2540         pass2541 2542     def __init__(self, function): # real signature unknown; restored from __doc__2543         pass2544 2545     @staticmethod # known case of __new__2546     def __new__(S, *more): # real signature unknown; restored from __doc__2547         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2548         pass2549 2550     __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2551 2552 2553 2554 class super(object):2555     """2556     super(type, obj) -> bound super object; requires isinstance(obj, type)2557     super(type) -> unbound super object2558     super(type, type2) -> bound super object; requires issubclass(type2, type)2559     Typical use to call a cooperative superclass method:2560     class C(B):2561         def meth(self, arg):2562             super(C, self).meth(arg)2563     """2564     def __getattribute__(self, name): # real signature unknown; restored from __doc__2565         """ x.__getattribute__(‘name‘) <==> x.name """2566         pass2567 2568     def __get__(self, obj, type=None): # real signature unknown; restored from __doc__2569         """ descr.__get__(obj[, type]) -> value """2570         pass2571 2572     def __init__(self, type1, type2=None): # known special case of super.__init__2573         """2574         super(type, obj) -> bound super object; requires isinstance(obj, type)2575         super(type) -> unbound super object2576         super(type, type2) -> bound super object; requires issubclass(type2, type)2577         Typical use to call a cooperative superclass method:2578         class C(B):2579             def meth(self, arg):2580                 super(C, self).meth(arg)2581         # (copied from class doc)2582         """2583         pass2584 2585     @staticmethod # known case of __new__2586     def __new__(S, *more): # real signature unknown; restored from __doc__2587         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2588         pass2589 2590     def __repr__(self): # real signature unknown; restored from __doc__2591         """ x.__repr__() <==> repr(x) """2592         pass2593 2594     __self_class__ = property(lambda self: type(object))2595     """the type of the instance invoking super(); may be None2596 2597     :type: type2598     """2599 2600     __self__ = property(lambda self: type(object))2601     """the instance invoking super(); may be None2602 2603     :type: type2604     """2605 2606     __thisclass__ = property(lambda self: type(object))2607     """the class invoking super()2608 2609     :type: type2610     """2611 2612 2613 2614 class tuple(object):2615     """2616     tuple() -> empty tuple2617     tuple(iterable) -> tuple initialized from iterable‘s items2618     2619     If the argument is a tuple, the return value is the same object.2620     """2621     def count(self, value): # real signature unknown; restored from __doc__2622         """ T.count(value) -> integer -- return number of occurrences of value """2623         return 02624 2625     def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__2626         """2627         T.index(value, [start, [stop]]) -> integer -- return first index of value.2628         Raises ValueError if the value is not present.2629         """2630         return 02631 2632     def __add__(self, y): # real signature unknown; restored from __doc__2633         """ x.__add__(y) <==> x+y """2634         pass2635 2636     def __contains__(self, y): # real signature unknown; restored from __doc__2637         """ x.__contains__(y) <==> y in x """2638         pass2639 2640     def __eq__(self, y): # real signature unknown; restored from __doc__2641         """ x.__eq__(y) <==> x==y """2642         pass2643 2644     def __getattribute__(self, name): # real signature unknown; restored from __doc__2645         """ x.__getattribute__(‘name‘) <==> x.name """2646         pass2647 2648     def __getitem__(self, y): # real signature unknown; restored from __doc__2649         """ x.__getitem__(y) <==> x[y] """2650         pass2651 2652     def __getnewargs__(self, *args, **kwargs): # real signature unknown2653         pass2654 2655     def __getslice__(self, i, j): # real signature unknown; restored from __doc__2656         """2657         x.__getslice__(i, j) <==> x[i:j]2658                    2659                    Use of negative indices is not supported.2660         """2661         pass2662 2663     def __ge__(self, y): # real signature unknown; restored from __doc__2664         """ x.__ge__(y) <==> x>=y """2665         pass2666 2667     def __gt__(self, y): # real signature unknown; restored from __doc__2668         """ x.__gt__(y) <==> x>y """2669         pass2670 2671     def __hash__(self): # real signature unknown; restored from __doc__2672         """ x.__hash__() <==> hash(x) """2673         pass2674 2675     def __init__(self, seq=()): # known special case of tuple.__init__2676         """2677         tuple() -> empty tuple2678         tuple(iterable) -> tuple initialized from iterable‘s items2679         2680         If the argument is a tuple, the return value is the same object.2681         # (copied from class doc)2682         """2683         pass2684 2685     def __iter__(self): # real signature unknown; restored from __doc__2686         """ x.__iter__() <==> iter(x) """2687         pass2688 2689     def __len__(self): # real signature unknown; restored from __doc__2690         """ x.__len__() <==> len(x) """2691         pass2692 2693     def __le__(self, y): # real signature unknown; restored from __doc__2694         """ x.__le__(y) <==> x<=y """2695         pass2696 2697     def __lt__(self, y): # real signature unknown; restored from __doc__2698         """ x.__lt__(y) <==> x<y """2699         pass2700 2701     def __mul__(self, n): # real signature unknown; restored from __doc__2702         """ x.__mul__(n) <==> x*n """2703         pass2704 2705     @staticmethod # known case of __new__2706     def __new__(S, *more): # real signature unknown; restored from __doc__2707         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2708         pass2709 2710     def __ne__(self, y): # real signature unknown; restored from __doc__2711         """ x.__ne__(y) <==> x!=y """2712         pass2713 2714     def __repr__(self): # real signature unknown; restored from __doc__2715         """ x.__repr__() <==> repr(x) """2716         pass2717 2718     def __rmul__(self, n): # real signature unknown; restored from __doc__2719         """ x.__rmul__(n) <==> n*x """2720         pass2721 2722 2723 class type(object):2724     """2725     type(object) -> the object‘s type2726     type(name, bases, dict) -> a new type2727     """2728     def mro(self): # real signature unknown; restored from __doc__2729         """2730         mro() -> list2731         return a type‘s method resolution order2732         """2733         return []2734 2735     def __call__(self, *more): # real signature unknown; restored from __doc__2736         """ x.__call__(...) <==> x(...) """2737         pass2738 2739     def __delattr__(self, name): # real signature unknown; restored from __doc__2740         """ x.__delattr__(‘name‘) <==> del x.name """2741         pass2742 2743     def __eq__(self, y): # real signature unknown; restored from __doc__2744         """ x.__eq__(y) <==> x==y """2745         pass2746 2747     def __getattribute__(self, name): # real signature unknown; restored from __doc__2748         """ x.__getattribute__(‘name‘) <==> x.name """2749         pass2750 2751     def __ge__(self, y): # real signature unknown; restored from __doc__2752         """ x.__ge__(y) <==> x>=y """2753         pass2754 2755     def __gt__(self, y): # real signature unknown; restored from __doc__2756         """ x.__gt__(y) <==> x>y """2757         pass2758 2759     def __hash__(self): # real signature unknown; restored from __doc__2760         """ x.__hash__() <==> hash(x) """2761         pass2762 2763     def __init__(cls, what, bases=None, dict=None): # known special case of type.__init__2764         """2765         type(object) -> the object‘s type2766         type(name, bases, dict) -> a new type2767         # (copied from class doc)2768         """2769         pass2770 2771     def __instancecheck__(self): # real signature unknown; restored from __doc__2772         """2773         __instancecheck__() -> bool2774         check if an object is an instance2775         """2776         return False2777 2778     def __le__(self, y): # real signature unknown; restored from __doc__2779         """ x.__le__(y) <==> x<=y """2780         pass2781 2782     def __lt__(self, y): # real signature unknown; restored from __doc__2783         """ x.__lt__(y) <==> x<y """2784         pass2785 2786     @staticmethod # known case of __new__2787     def __new__(S, *more): # real signature unknown; restored from __doc__2788         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """2789         pass2790 2791     def __ne__(self, y): # real signature unknown; restored from __doc__2792         """ x.__ne__(y) <==> x!=y """2793         pass2794 2795     def __repr__(self): # real signature unknown; restored from __doc__2796         """ x.__repr__() <==> repr(x) """2797         pass2798 2799     def __setattr__(self, name, value): # real signature unknown; restored from __doc__2800         """ x.__setattr__(‘name‘, value) <==> x.name = value """2801         pass2802 2803     def __subclasscheck__(self): # real signature unknown; restored from __doc__2804         """2805         __subclasscheck__() -> bool2806         check if a class is a subclass2807         """2808         return False2809 2810     def __subclasses__(self): # real signature unknown; restored from __doc__2811         """ __subclasses__() -> list of immediate subclasses """2812         return []2813 2814     __abstractmethods__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default2815 2816 2817     __bases__ = (2818         object,2819     )2820     __base__ = object2821     __basicsize__ = 4362822     __dictoffset__ = 1322823     __dict__ = None # (!) real value is ‘‘2824     __flags__ = -21465441492825     __itemsize__ = 202826     __mro__ = (2827         None, # (!) forward: type, real value is ‘‘2828         object,2829     )2830     __name__ = type2831     __weakrefoffset__ = 1842832 2833 2834 class unicode(basestring):2835     """2836     unicode(object=‘‘) -> unicode object2837     unicode(string[, encoding[, errors]]) -> unicode object2838     2839     Create a new Unicode object from the given encoded string.2840     encoding defaults to the current default string encoding.2841     errors can be ‘strict‘, ‘replace‘ or ‘ignore‘ and defaults to ‘strict‘.2842     """2843     def capitalize(self): # real signature unknown; restored from __doc__2844         """2845         S.capitalize() -> unicode2846         2847         Return a capitalized version of S, i.e. make the first character2848         have upper case and the rest lower case.2849         """2850         return u""2851 2852     def center(self, width, fillchar=None): # real signature unknown; restored from __doc__2853         """2854         S.center(width[, fillchar]) -> unicode2855         2856         Return S centered in a Unicode string of length width. Padding is2857         done using the specified fill character (default is a space)2858         """2859         return u""2860 2861     def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__2862         """2863         S.count(sub[, start[, end]]) -> int2864         2865         Return the number of non-overlapping occurrences of substring sub in2866         Unicode string S[start:end].  Optional arguments start and end are2867         interpreted as in slice notation.2868         """2869         return 02870 2871     def decode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__2872         """2873         S.decode([encoding[,errors]]) -> string or unicode2874         2875         Decodes S using the codec registered for encoding. encoding defaults2876         to the default encoding. errors may be given to set a different error2877         handling scheme. Default is ‘strict‘ meaning that encoding errors raise2878         a UnicodeDecodeError. Other possible values are ‘ignore‘ and ‘replace‘2879         as well as any other name registered with codecs.register_error that is2880         able to handle UnicodeDecodeErrors.2881         """2882         return ""2883 2884     def encode(self, encoding=None, errors=None): # real signature unknown; restored from __doc__2885         """2886         S.encode([encoding[,errors]]) -> string or unicode2887         2888         Encodes S using the codec registered for encoding. encoding defaults2889         to the default encoding. errors may be given to set a different error2890         handling scheme. Default is ‘strict‘ meaning that encoding errors raise2891         a UnicodeEncodeError. Other possible values are ‘ignore‘, ‘replace‘ and2892         ‘xmlcharrefreplace‘ as well as any other name registered with2893         codecs.register_error that can handle UnicodeEncodeErrors.2894         """2895         return ""2896 2897     def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__2898         """2899         S.endswith(suffix[, start[, end]]) -> bool2900         2901         Return True if S ends with the specified suffix, False otherwise.2902         With optional start, test S beginning at that position.2903         With optional end, stop comparing S at that position.2904         suffix can also be a tuple of strings to try.2905         """2906         return False2907 2908     def expandtabs(self, tabsize=None): # real signature unknown; restored from __doc__2909         """2910         S.expandtabs([tabsize]) -> unicode2911         2912         Return a copy of S where all tab characters are expanded using spaces.2913         If tabsize is not given, a tab size of 8 characters is assumed.2914         """2915         return u""2916 2917     def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__2918         """2919         S.find(sub [,start [,end]]) -> int2920         2921         Return the lowest index in S where substring sub is found,2922         such that sub is contained within S[start:end].  Optional2923         arguments start and end are interpreted as in slice notation.2924         2925         Return -1 on failure.2926         """2927         return 02928 2929     def format(*args, **kwargs): # known special case of unicode.format2930         """2931         S.format(*args, **kwargs) -> unicode2932         2933         Return a formatted version of S, using substitutions from args and kwargs.2934         The substitutions are identified by braces (‘{‘ and ‘}‘).2935         """2936         pass2937 2938     def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__2939         """2940         S.index(sub [,start [,end]]) -> int2941         2942         Like S.find() but raise ValueError when the substring is not found.2943         """2944         return 02945 2946     def isalnum(self): # real signature unknown; restored from __doc__2947         """2948         S.isalnum() -> bool2949         2950         Return True if all characters in S are alphanumeric2951         and there is at least one character in S, False otherwise.2952         """2953         return False2954 2955     def isalpha(self): # real signature unknown; restored from __doc__2956         """2957         S.isalpha() -> bool2958         2959         Return True if all characters in S are alphabetic2960         and there is at least one character in S, False otherwise.2961         """2962         return False2963 2964     def isdecimal(self): # real signature unknown; restored from __doc__2965         """2966         S.isdecimal() -> bool2967         2968         Return True if there are only decimal characters in S,2969         False otherwise.2970         """2971         return False2972 2973     def isdigit(self): # real signature unknown; restored from __doc__2974         """2975         S.isdigit() -> bool2976         2977         Return True if all characters in S are digits2978         and there is at least one character in S, False otherwise.2979         """2980         return False2981 2982     def islower(self): # real signature unknown; restored from __doc__2983         """2984         S.islower() -> bool2985         2986         Return True if all cased characters in S are lowercase and there is2987         at least one cased character in S, False otherwise.2988         """2989         return False2990 2991     def isnumeric(self): # real signature unknown; restored from __doc__2992         """2993         S.isnumeric() -> bool2994         2995         Return True if there are only numeric characters in S,2996         False otherwise.2997         """2998         return False2999 3000     def isspace(self): # real signature unknown; restored from __doc__3001         """3002         S.isspace() -> bool3003         3004         Return True if all characters in S are whitespace3005         and there is at least one character in S, False otherwise.3006         """3007         return False3008 3009     def istitle(self): # real signature unknown; restored from __doc__3010         """3011         S.istitle() -> bool3012         3013         Return True if S is a titlecased string and there is at least one3014         character in S, i.e. upper- and titlecase characters may only3015         follow uncased characters and lowercase characters only cased ones.3016         Return False otherwise.3017         """3018         return False3019 3020     def isupper(self): # real signature unknown; restored from __doc__3021         """3022         S.isupper() -> bool3023         3024         Return True if all cased characters in S are uppercase and there is3025         at least one cased character in S, False otherwise.3026         """3027         return False3028 3029     def join(self, iterable): # real signature unknown; restored from __doc__3030         """3031         S.join(iterable) -> unicode3032         3033         Return a string which is the concatenation of the strings in the3034         iterable.  The separator between elements is S.3035         """3036         return u""3037 3038     def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__3039         """3040         S.ljust(width[, fillchar]) -> int3041         3042         Return S left-justified in a Unicode string of length width. Padding is3043         done using the specified fill character (default is a space).3044         """3045         return 03046 3047     def lower(self): # real signature unknown; restored from __doc__3048         """3049         S.lower() -> unicode3050         3051         Return a copy of the string S converted to lowercase.3052         """3053         return u""3054 3055     def lstrip(self, chars=None): # real signature unknown; restored from __doc__3056         """3057         S.lstrip([chars]) -> unicode3058         3059         Return a copy of the string S with leading whitespace removed.3060         If chars is given and not None, remove characters in chars instead.3061         If chars is a str, it will be converted to unicode before stripping3062         """3063         return u""3064 3065     def partition(self, sep): # real signature unknown; restored from __doc__3066         """3067         S.partition(sep) -> (head, sep, tail)3068         3069         Search for the separator sep in S, and return the part before it,3070         the separator itself, and the part after it.  If the separator is not3071         found, return S and two empty strings.3072         """3073         pass3074 3075     def replace(self, old, new, count=None): # real signature unknown; restored from __doc__3076         """3077         S.replace(old, new[, count]) -> unicode3078         3079         Return a copy of S with all occurrences of substring3080         old replaced by new.  If the optional argument count is3081         given, only the first count occurrences are replaced.3082         """3083         return u""3084 3085     def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__3086         """3087         S.rfind(sub [,start [,end]]) -> int3088         3089         Return the highest index in S where substring sub is found,3090         such that sub is contained within S[start:end].  Optional3091         arguments start and end are interpreted as in slice notation.3092         3093         Return -1 on failure.3094         """3095         return 03096 3097     def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__3098         """3099         S.rindex(sub [,start [,end]]) -> int3100         3101         Like S.rfind() but raise ValueError when the substring is not found.3102         """3103         return 03104 3105     def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__3106         """3107         S.rjust(width[, fillchar]) -> unicode3108         3109         Return S right-justified in a Unicode string of length width. Padding is3110         done using the specified fill character (default is a space).3111         """3112         return u""3113 3114     def rpartition(self, sep): # real signature unknown; restored from __doc__3115         """3116         S.rpartition(sep) -> (head, sep, tail)3117         3118         Search for the separator sep in S, starting at the end of S, and return3119         the part before it, the separator itself, and the part after it.  If the3120         separator is not found, return two empty strings and S.3121         """3122         pass3123 3124     def rsplit(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__3125         """3126         S.rsplit([sep [,maxsplit]]) -> list of strings3127         3128         Return a list of the words in S, using sep as the3129         delimiter string, starting at the end of the string and3130         working to the front.  If maxsplit is given, at most maxsplit3131         splits are done. If sep is not specified, any whitespace string3132         is a separator.3133         """3134         return []3135 3136     def rstrip(self, chars=None): # real signature unknown; restored from __doc__3137         """3138         S.rstrip([chars]) -> unicode3139         3140         Return a copy of the string S with trailing whitespace removed.3141         If chars is given and not None, remove characters in chars instead.3142         If chars is a str, it will be converted to unicode before stripping3143         """3144         return u""3145 3146     def split(self, sep=None, maxsplit=None): # real signature unknown; restored from __doc__3147         """3148         S.split([sep [,maxsplit]]) -> list of strings3149         3150         Return a list of the words in S, using sep as the3151         delimiter string.  If maxsplit is given, at most maxsplit3152         splits are done. If sep is not specified or is None, any3153         whitespace string is a separator and empty strings are3154         removed from the result.3155         """3156         return []3157 3158     def splitlines(self, keepends=False): # real signature unknown; restored from __doc__3159         """3160         S.splitlines(keepends=False) -> list of strings3161         3162         Return a list of the lines in S, breaking at line boundaries.3163         Line breaks are not included in the resulting list unless keepends3164         is given and true.3165         """3166         return []3167 3168     def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__3169         """3170         S.startswith(prefix[, start[, end]]) -> bool3171         3172         Return True if S starts with the specified prefix, False otherwise.3173         With optional start, test S beginning at that position.3174         With optional end, stop comparing S at that position.3175         prefix can also be a tuple of strings to try.3176         """3177         return False3178 3179     def strip(self, chars=None): # real signature unknown; restored from __doc__3180         """3181         S.strip([chars]) -> unicode3182         3183         Return a copy of the string S with leading and trailing3184         whitespace removed.3185         If chars is given and not None, remove characters in chars instead.3186         If chars is a str, it will be converted to unicode before stripping3187         """3188         return u""3189 3190     def swapcase(self): # real signature unknown; restored from __doc__3191         """3192         S.swapcase() -> unicode3193         3194         Return a copy of S with uppercase characters converted to lowercase3195         and vice versa.3196         """3197         return u""3198 3199     def title(self): # real signature unknown; restored from __doc__3200         """3201         S.title() -> unicode3202         3203         Return a titlecased version of S, i.e. words start with title case3204         characters, all remaining cased characters have lower case.3205         """3206         return u""3207 3208     def translate(self, table): # real signature unknown; restored from __doc__3209         """3210         S.translate(table) -> unicode3211         3212         Return a copy of the string S, where all characters have been mapped3213         through the given translation table, which must be a mapping of3214         Unicode ordinals to Unicode ordinals, Unicode strings or None.3215         Unmapped characters are left untouched. Characters mapped to None3216         are deleted.3217         """3218         return u""3219 3220     def upper(self): # real signature unknown; restored from __doc__3221         """3222         S.upper() -> unicode3223         3224         Return a copy of S converted to uppercase.3225         """3226         return u""3227 3228     def zfill(self, width): # real signature unknown; restored from __doc__3229         """3230         S.zfill(width) -> unicode3231         3232         Pad a numeric string S with zeros on the left, to fill a field3233         of the specified width. The string S is never truncated.3234         """3235         return u""3236 3237     def _formatter_field_name_split(self, *args, **kwargs): # real signature unknown3238         pass3239 3240     def _formatter_parser(self, *args, **kwargs): # real signature unknown3241         pass3242 3243     def __add__(self, y): # real signature unknown; restored from __doc__3244         """ x.__add__(y) <==> x+y """3245         pass3246 3247     def __contains__(self, y): # real signature unknown; restored from __doc__3248         """ x.__contains__(y) <==> y in x """3249         pass3250 3251     def __eq__(self, y): # real signature unknown; restored from __doc__3252         """ x.__eq__(y) <==> x==y """3253         pass3254 3255     def __format__(self, format_spec): # real signature unknown; restored from __doc__3256         """3257         S.__format__(format_spec) -> unicode3258         3259         Return a formatted version of S as described by format_spec.3260         """3261         return u""3262 3263     def __getattribute__(self, name): # real signature unknown; restored from __doc__3264         """ x.__getattribute__(‘name‘) <==> x.name """3265         pass3266 3267     def __getitem__(self, y): # real signature unknown; restored from __doc__3268         """ x.__getitem__(y) <==> x[y] """3269         pass3270 3271     def __getnewargs__(self, *args, **kwargs): # real signature unknown3272         pass3273 3274     def __getslice__(self, i, j): # real signature unknown; restored from __doc__3275         """3276         x.__getslice__(i, j) <==> x[i:j]3277                    3278                    Use of negative indices is not supported.3279         """3280         pass3281 3282     def __ge__(self, y): # real signature unknown; restored from __doc__3283         """ x.__ge__(y) <==> x>=y """3284         pass3285 3286     def __gt__(self, y): # real signature unknown; restored from __doc__3287         """ x.__gt__(y) <==> x>y """3288         pass3289 3290     def __hash__(self): # real signature unknown; restored from __doc__3291         """ x.__hash__() <==> hash(x) """3292         pass3293 3294     def __init__(self, string=u‘‘, encoding=None, errors=strict): # known special case of unicode.__init__3295         """3296         unicode(object=‘‘) -> unicode object3297         unicode(string[, encoding[, errors]]) -> unicode object3298         3299         Create a new Unicode object from the given encoded string.3300         encoding defaults to the current default string encoding.3301         errors can be ‘strict‘, ‘replace‘ or ‘ignore‘ and defaults to ‘strict‘.3302         # (copied from class doc)3303         """3304         pass3305 3306     def __len__(self): # real signature unknown; restored from __doc__3307         """ x.__len__() <==> len(x) """3308         pass3309 3310     def __le__(self, y): # real signature unknown; restored from __doc__3311         """ x.__le__(y) <==> x<=y """3312         pass3313 3314     def __lt__(self, y): # real signature unknown; restored from __doc__3315         """ x.__lt__(y) <==> x<y """3316         pass3317 3318     def __mod__(self, y): # real signature unknown; restored from __doc__3319         """ x.__mod__(y) <==> x%y """3320         pass3321 3322     def __mul__(self, n): # real signature unknown; restored from __doc__3323         """ x.__mul__(n) <==> x*n """3324         pass3325 3326     @staticmethod # known case of __new__3327     def __new__(S, *more): # real signature unknown; restored from __doc__3328         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """3329         pass3330 3331     def __ne__(self, y): # real signature unknown; restored from __doc__3332         """ x.__ne__(y) <==> x!=y """3333         pass3334 3335     def __repr__(self): # real signature unknown; restored from __doc__3336         """ x.__repr__() <==> repr(x) """3337         pass3338 3339     def __rmod__(self, y): # real signature unknown; restored from __doc__3340         """ x.__rmod__(y) <==> y%x """3341         pass3342 3343     def __rmul__(self, n): # real signature unknown; restored from __doc__3344         """ x.__rmul__(n) <==> n*x """3345         pass3346 3347     def __sizeof__(self): # real signature unknown; restored from __doc__3348         """ S.__sizeof__() -> size of S in memory, in bytes """3349         pass3350 3351     def __str__(self): # real signature unknown; restored from __doc__3352         """ x.__str__() <==> str(x) """3353         pass3354 3355 3356 class xrange(object):3357     """3358     xrange(stop) -> xrange object3359     xrange(start, stop[, step]) -> xrange object3360     3361     Like range(), but instead of returning a list, returns an object that3362     generates the numbers in the range on demand.  For looping, this is 3363     slightly faster than range() and more memory efficient.3364     """3365     def __getattribute__(self, name): # real signature unknown; restored from __doc__3366         """ x.__getattribute__(‘name‘) <==> x.name """3367         pass3368 3369     def __getitem__(self, y): # real signature unknown; restored from __doc__3370         """ x.__getitem__(y) <==> x[y] """3371         pass3372 3373     def __init__(self, stop): # real signature unknown; restored from __doc__3374         pass3375 3376     def __iter__(self): # real signature unknown; restored from __doc__3377         """ x.__iter__() <==> iter(x) """3378         pass3379 3380     def __len__(self): # real signature unknown; restored from __doc__3381         """ x.__len__() <==> len(x) """3382         pass3383 3384     @staticmethod # known case of __new__3385     def __new__(S, *more): # real signature unknown; restored from __doc__3386         """ T.__new__(S, ...) -> a new object with type S, a subtype of T """3387         pass3388 3389     def __reduce__(self, *args, **kwargs): # real signature unknown3390         pass3391 3392     def __repr__(self): # real signature unknown; restored from __doc__3393         """ x.__repr__() <==> repr(x) """3394         pass3395 3396     def __reversed__(self, *args, **kwargs): # real signature unknown3397         """ Returns a reverse iterator. """3398         pass3399 3400 3401 # variables with complex values3402 3403 Ellipsis = None # (!) real value is ‘‘3404 3405 NotImplemented = None # (!) real value is ‘‘
View Code

常用方法以具体实例给出

 

 

python之旅2