1. # encoding: utf-8
  2. # module builtins
  3. # from (built-in)
  4. # by generator 1.147
  5. """
  6. Built-in functions, exceptions, and other objects.
  7.  
  8. Noteworthy: None is the `nil' object; Ellipsis represents `...' in slices.
  9. """
  10. # no imports
  11.  
  12. # Variables with simple values
  13. # definition of False omitted
  14. # definition of None omitted
  15. # definition of True omitted
  16. # definition of __debug__ omitted
  17.  
  18. # functions
  19.  
  20. def abs(*args, **kwargs): # real signature unknown
  21. """ Return the absolute value of the argument. """
  22. pass
  23.  
  24. def all(*args, **kwargs): # real signature unknown
  25. """
  26. Return True if bool(x) is True for all values x in the iterable.
  27.  
  28. If the iterable is empty, return True.
  29. """
  30. pass
  31.  
  32. def any(*args, **kwargs): # real signature unknown
  33. """
  34. Return True if bool(x) is True for any x in the iterable.
  35.  
  36. If the iterable is empty, return False.
  37. """
  38. pass
  39.  
  40. def ascii(*args, **kwargs): # real signature unknown
  41. """
  42. Return an ASCII-only representation of an object.
  43.  
  44. As repr(), return a string containing a printable representation of an
  45. object, but escape the non-ASCII characters in the string returned by
  46. repr() using \\x, \\u or \\U escapes. This generates a string similar
  47. to that returned by repr() in Python 2.
  48. """
  49. pass
  50.  
  51. def bin(*args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  52. """
  53. Return the binary representation of an integer.
  54.  
  55. >>> bin(2796202)
  56. '0b1010101010101010101010'
  57. """
  58. pass
  59.  
  60. def breakpoint(*args, **kws): # real signature unknown; restored from __doc__
  61. """
  62. breakpoint(*args, **kws)
  63.  
  64. Call sys.breakpointhook(*args, **kws). sys.breakpointhook() must accept
  65. whatever arguments are passed.
  66.  
  67. By default, this drops you into the pdb debugger.
  68. """
  69. pass
  70.  
  71. def callable(i_e_, some_kind_of_function): # real signature unknown; restored from __doc__
  72. """
  73. Return whether the object is callable (i.e., some kind of function).
  74.  
  75. Note that classes are callable, as are instances of classes with a
  76. __call__() method.
  77. """
  78. pass
  79.  
  80. def chr(*args, **kwargs): # real signature unknown
  81. """ Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff. """
  82. pass
  83.  
  84. def compile(*args, **kwargs): # real signature unknown
  85. """
  86. Compile source into a code object that can be executed by exec() or eval().
  87.  
  88. The source code may represent a Python module, statement or expression.
  89. The filename will be used for run-time error messages.
  90. The mode must be 'exec' to compile a module, 'single' to compile a
  91. single (interactive) statement, or 'eval' to compile an expression.
  92. The flags argument, if present, controls which future statements influence
  93. the compilation of the code.
  94. The dont_inherit argument, if true, stops the compilation inheriting
  95. the effects of any future statements in effect in the code calling
  96. compile; if absent or false these statements do influence the compilation,
  97. in addition to any features explicitly specified.
  98. """
  99. pass
  100.  
  101. def copyright(*args, **kwargs): # real signature unknown
  102. """
  103. interactive prompt objects for printing the license text, a list of
  104. contributors and the copyright notice.
  105. """
  106. pass
  107.  
  108. def credits(*args, **kwargs): # real signature unknown
  109. """
  110. interactive prompt objects for printing the license text, a list of
  111. contributors and the copyright notice.
  112. """
  113. pass
  114.  
  115. def delattr(x, y): # real signature unknown; restored from __doc__
  116. """
  117. Deletes the named attribute from the given object.
  118.  
  119. delattr(x, 'y') is equivalent to ``del x.y''
  120. """
  121. pass
  122.  
  123. def dir(p_object=None): # real signature unknown; restored from __doc__
  124. """
  125. dir([object]) -> list of strings
  126.  
  127. If called without an argument, return the names in the current scope.
  128. Else, return an alphabetized list of names comprising (some of) the attributes
  129. of the given object, and of attributes reachable from it.
  130. If the object supplies a method named __dir__, it will be used; otherwise
  131. the default dir() logic is used and returns:
  132. for a module object: the module's attributes.
  133. for a class object: its attributes, and recursively the attributes
  134. of its bases.
  135. for any other object: its attributes, its class's attributes, and
  136. recursively the attributes of its class's base classes.
  137. """
  138. return []
  139.  
  140. def divmod(x, y): # known case of builtins.divmod
  141. """ Return the tuple (x//y, x%y). Invariant: div*y + mod == x. """
  142. return (0, 0)
  143.  
  144. def eval(*args, **kwargs): # real signature unknown
  145. """
  146. Evaluate the given source in the context of globals and locals.
  147.  
  148. The source may be a string representing a Python expression
  149. or a code object as returned by compile().
  150. The globals must be a dictionary and locals can be any mapping,
  151. defaulting to the current globals and locals.
  152. If only globals is given, locals defaults to it.
  153. """
  154. pass
  155.  
  156. def exec(*args, **kwargs): # real signature unknown
  157. """
  158. Execute the given source in the context of globals and locals.
  159.  
  160. The source may be a string representing one or more Python statements
  161. or a code object as returned by compile().
  162. The globals must be a dictionary and locals can be any mapping,
  163. defaulting to the current globals and locals.
  164. If only globals is given, locals defaults to it.
  165. """
  166. pass
  167.  
  168. def exit(*args, **kwargs): # real signature unknown
  169. pass
  170.  
  171. def format(*args, **kwargs): # real signature unknown
  172. """
  173. Return value.__format__(format_spec)
  174.  
  175. format_spec defaults to the empty string.
  176. See the Format Specification Mini-Language section of help('FORMATTING') for
  177. details.
  178. """
  179. pass
  180.  
  181. def getattr(object, name, default=None): # known special case of getattr
  182. """
  183. getattr(object, name[, default]) -> value
  184.  
  185. Get a named attribute from an object; getattr(x, 'y') is equivalent to x.y.
  186. When a default argument is given, it is returned when the attribute doesn't
  187. exist; without it, an exception is raised in that case.
  188. """
  189. pass
  190.  
  191. def globals(*args, **kwargs): # real signature unknown
  192. """
  193. Return the dictionary containing the current scope's global variables.
  194.  
  195. NOTE: Updates to this dictionary *will* affect name lookups in the current
  196. global scope and vice-versa.
  197. """
  198. pass
  199.  
  200. def hasattr(*args, **kwargs): # real signature unknown
  201. """
  202. Return whether the object has an attribute with the given name.
  203.  
  204. This is done by calling getattr(obj, name) and catching AttributeError.
  205. """
  206. pass
  207.  
  208. def hash(*args, **kwargs): # real signature unknown
  209. """
  210. Return the hash value for the given object.
  211.  
  212. Two objects that compare equal must also have the same hash value, but the
  213. reverse is not necessarily true.
  214. """
  215. pass
  216.  
  217. def help(): # real signature unknown; restored from __doc__
  218. """
  219. Define the builtin 'help'.
  220.  
  221. This is a wrapper around pydoc.help that provides a helpful message
  222. when 'help' is typed at the Python interactive prompt.
  223.  
  224. Calling help() at the Python prompt starts an interactive help session.
  225. Calling help(thing) prints help for the python object 'thing'.
  226. """
  227. pass
  228.  
  229. def hex(*args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  230. """
  231. Return the hexadecimal representation of an integer.
  232.  
  233. >>> hex(12648430)
  234. '0xc0ffee'
  235. """
  236. pass
  237.  
  238. def id(*args, **kwargs): # real signature unknown
  239. """
  240. Return the identity of an object.
  241.  
  242. This is guaranteed to be unique among simultaneously existing objects.
  243. (CPython uses the object's memory address.)
  244. """
  245. pass
  246.  
  247. def input(*args, **kwargs): # real signature unknown
  248. """
  249. Read a string from standard input. The trailing newline is stripped.
  250.  
  251. The prompt string, if given, is printed to standard output without a
  252. trailing newline before reading input.
  253.  
  254. If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.
  255. On *nix systems, readline is used if available.
  256. """
  257. pass
  258.  
  259. def isinstance(x, A_tuple): # real signature unknown; restored from __doc__
  260. """
  261. Return whether an object is an instance of a class or of a subclass thereof.
  262.  
  263. A tuple, as in ``isinstance(x, (A, B, ...))``, may be given as the target to
  264. check against. This is equivalent to ``isinstance(x, A) or isinstance(x, B)
  265. or ...`` etc.
  266. """
  267. pass
  268.  
  269. def issubclass(x, A_tuple): # real signature unknown; restored from __doc__
  270. """
  271. Return whether 'cls' is a derived from another class or is the same class.
  272.  
  273. A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to
  274. check against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)
  275. or ...`` etc.
  276. """
  277. pass
  278.  
  279. def iter(source, sentinel=None): # known special case of iter
  280. """
  281. iter(iterable) -> iterator
  282. iter(callable, sentinel) -> iterator
  283.  
  284. Get an iterator from an object. In the first form, the argument must
  285. supply its own iterator, or be a sequence.
  286. In the second form, the callable is called until it returns the sentinel.
  287. """
  288. pass
  289.  
  290. def len(*args, **kwargs): # real signature unknown
  291. """ Return the number of items in a container. """
  292. pass
  293.  
  294. def license(*args, **kwargs): # real signature unknown
  295. """
  296. interactive prompt objects for printing the license text, a list of
  297. contributors and the copyright notice.
  298. """
  299. pass
  300.  
  301. def locals(*args, **kwargs): # real signature unknown
  302. """
  303. Return a dictionary containing the current scope's local variables.
  304.  
  305. NOTE: Whether or not updates to this dictionary will affect name lookups in
  306. the local scope and vice-versa is *implementation dependent* and not
  307. covered by any backwards compatibility guarantees.
  308. """
  309. pass
  310.  
  311. def max(*args, key=None): # known special case of max
  312. """
  313. max(iterable, *[, default=obj, key=func]) -> value
  314. max(arg1, arg2, *args, *[, key=func]) -> value
  315.  
  316. With a single iterable argument, return its biggest item. The
  317. default keyword-only argument specifies an object to return if
  318. the provided iterable is empty.
  319. With two or more arguments, return the largest argument.
  320. """
  321. pass
  322.  
  323. def min(*args, key=None): # known special case of min
  324. """
  325. min(iterable, *[, default=obj, key=func]) -> value
  326. min(arg1, arg2, *args, *[, key=func]) -> value
  327.  
  328. With a single iterable argument, return its smallest item. The
  329. default keyword-only argument specifies an object to return if
  330. the provided iterable is empty.
  331. With two or more arguments, return the smallest argument.
  332. """
  333. pass
  334.  
  335. def next(iterator, default=None): # real signature unknown; restored from __doc__
  336. """
  337. next(iterator[, default])
  338.  
  339. Return the next item from the iterator. If default is given and the iterator
  340. is exhausted, it is returned instead of raising StopIteration.
  341. """
  342. pass
  343.  
  344. def oct(*args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  345. """
  346. Return the octal representation of an integer.
  347.  
  348. >>> oct(342391)
  349. '0o1234567'
  350. """
  351. pass
  352.  
  353. def open(file, mode='r', buffering=None, encoding=None, errors=None, newline=None, closefd=True): # known special case of open
  354. """
  355. Open file and return a stream. Raise OSError upon failure.
  356.  
  357. file is either a text or byte string giving the name (and the path
  358. if the file isn't in the current working directory) of the file to
  359. be opened or an integer file descriptor of the file to be
  360. wrapped. (If a file descriptor is given, it is closed when the
  361. returned I/O object is closed, unless closefd is set to False.)
  362.  
  363. mode is an optional string that specifies the mode in which the file
  364. is opened. It defaults to 'r' which means open for reading in text
  365. mode. Other common values are 'w' for writing (truncating the file if
  366. it already exists), 'x' for creating and writing to a new file, and
  367. 'a' for appending (which on some Unix systems, means that all writes
  368. append to the end of the file regardless of the current seek position).
  369. In text mode, if encoding is not specified the encoding used is platform
  370. dependent: locale.getpreferredencoding(False) is called to get the
  371. current locale encoding. (For reading and writing raw bytes use binary
  372. mode and leave encoding unspecified.) The available modes are:
  373.  
  374. ========= ===============================================================
  375. Character Meaning
  376. --------- ---------------------------------------------------------------
  377. 'r' open for reading (default)
  378. 'w' open for writing, truncating the file first
  379. 'x' create a new file and open it for writing
  380. 'a' open for writing, appending to the end of the file if it exists
  381. 'b' binary mode
  382. 't' text mode (default)
  383. '+' open a disk file for updating (reading and writing)
  384. 'U' universal newline mode (deprecated)
  385. ========= ===============================================================
  386.  
  387. The default mode is 'rt' (open for reading text). For binary random
  388. access, the mode 'w+b' opens and truncates the file to 0 bytes, while
  389. 'r+b' opens the file without truncation. The 'x' mode implies 'w' and
  390. raises an `FileExistsError` if the file already exists.
  391.  
  392. Python distinguishes between files opened in binary and text modes,
  393. even when the underlying operating system doesn't. Files opened in
  394. binary mode (appending 'b' to the mode argument) return contents as
  395. bytes objects without any decoding. In text mode (the default, or when
  396. 't' is appended to the mode argument), the contents of the file are
  397. returned as strings, the bytes having been first decoded using a
  398. platform-dependent encoding or using the specified encoding if given.
  399.  
  400. 'U' mode is deprecated and will raise an exception in future versions
  401. of Python. It has no effect in Python 3. Use newline to control
  402. universal newlines mode.
  403.  
  404. buffering is an optional integer used to set the buffering policy.
  405. Pass 0 to switch buffering off (only allowed in binary mode), 1 to select
  406. line buffering (only usable in text mode), and an integer > 1 to indicate
  407. the size of a fixed-size chunk buffer. When no buffering argument is
  408. given, the default buffering policy works as follows:
  409.  
  410. * Binary files are buffered in fixed-size chunks; the size of the buffer
  411. is chosen using a heuristic trying to determine the underlying device's
  412. "block size" and falling back on `io.DEFAULT_BUFFER_SIZE`.
  413. On many systems, the buffer will typically be 4096 or 8192 bytes long.
  414.  
  415. * "Interactive" text files (files for which isatty() returns True)
  416. use line buffering. Other text files use the policy described above
  417. for binary files.
  418.  
  419. encoding is the name of the encoding used to decode or encode the
  420. file. This should only be used in text mode. The default encoding is
  421. platform dependent, but any encoding supported by Python can be
  422. passed. See the codecs module for the list of supported encodings.
  423.  
  424. errors is an optional string that specifies how encoding errors are to
  425. be handled---this argument should not be used in binary mode. Pass
  426. 'strict' to raise a ValueError exception if there is an encoding error
  427. (the default of None has the same effect), or pass 'ignore' to ignore
  428. errors. (Note that ignoring encoding errors can lead to data loss.)
  429. See the documentation for codecs.register or run 'help(codecs.Codec)'
  430. for a list of the permitted encoding error strings.
  431.  
  432. newline controls how universal newlines works (it only applies to text
  433. mode). It can be None, '', '\n', '\r', and '\r\n'. It works as
  434. follows:
  435.  
  436. * On input, if newline is None, universal newlines mode is
  437. enabled. Lines in the input can end in '\n', '\r', or '\r\n', and
  438. these are translated into '\n' before being returned to the
  439. caller. If it is '', universal newline mode is enabled, but line
  440. endings are returned to the caller untranslated. If it has any of
  441. the other legal values, input lines are only terminated by the given
  442. string, and the line ending is returned to the caller untranslated.
  443.  
  444. * On output, if newline is None, any '\n' characters written are
  445. translated to the system default line separator, os.linesep. If
  446. newline is '' or '\n', no translation takes place. If newline is any
  447. of the other legal values, any '\n' characters written are translated
  448. to the given string.
  449.  
  450. If closefd is False, the underlying file descriptor will be kept open
  451. when the file is closed. This does not work when a file name is given
  452. and must be True in that case.
  453.  
  454. A custom opener can be used by passing a callable as *opener*. The
  455. underlying file descriptor for the file object is then obtained by
  456. calling *opener* with (*file*, *flags*). *opener* must return an open
  457. file descriptor (passing os.open as *opener* results in functionality
  458. similar to passing None).
  459.  
  460. open() returns a file object whose type depends on the mode, and
  461. through which the standard file operations such as reading and writing
  462. are performed. When open() is used to open a file in a text mode ('w',
  463. 'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open
  464. a file in a binary mode, the returned class varies: in read binary
  465. mode, it returns a BufferedReader; in write binary and append binary
  466. modes, it returns a BufferedWriter, and in read/write mode, it returns
  467. a BufferedRandom.
  468.  
  469. It is also possible to use a string or bytearray as a file for both
  470. reading and writing. For strings StringIO can be used like a file
  471. opened in a text mode, and for bytes a BytesIO can be used like a file
  472. opened in a binary mode.
  473. """
  474. pass
  475.  
  476. def ord(*args, **kwargs): # real signature unknown
  477. """ Return the Unicode code point for a one-character string. """
  478. pass
  479.  
  480. def pow(*args, **kwargs): # real signature unknown
  481. """
  482. Equivalent to x**y (with two arguments) or x**y % z (with three arguments)
  483.  
  484. Some types, such as ints, are able to use a more efficient algorithm when
  485. invoked using the three argument form.
  486. """
  487. pass
  488.  
  489. def print(self, *args, sep=' ', end='\n', file=None): # known special case of print
  490. """
  491. print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
  492.  
  493. Prints the values to a stream, or to sys.stdout by default.
  494. Optional keyword arguments:
  495. file: a file-like object (stream); defaults to the current sys.stdout.
  496. sep: string inserted between values, default a space.
  497. end: string appended after the last value, default a newline.
  498. flush: whether to forcibly flush the stream.
  499. """
  500. pass
  501.  
  502. def quit(*args, **kwargs): # real signature unknown
  503. pass
  504.  
  505. def repr(obj): # real signature unknown; restored from __doc__
  506. """
  507. Return the canonical string representation of the object.
  508.  
  509. For many object types, including most builtins, eval(repr(obj)) == obj.
  510. """
  511. pass
  512.  
  513. def round(*args, **kwargs): # real signature unknown
  514. """
  515. Round a number to a given precision in decimal digits.
  516.  
  517. The return value is an integer if ndigits is omitted or None. Otherwise
  518. the return value has the same type as the number. ndigits may be negative.
  519. """
  520. pass
  521.  
  522. def setattr(x, y, v): # real signature unknown; restored from __doc__
  523. """
  524. Sets the named attribute on the given object to the specified value.
  525.  
  526. setattr(x, 'y', v) is equivalent to ``x.y = v''
  527. """
  528. pass
  529.  
  530. def sorted(*args, **kwargs): # real signature unknown
  531. """
  532. Return a new list containing all items from the iterable in ascending order.
  533.  
  534. A custom key function can be supplied to customize the sort order, and the
  535. reverse flag can be set to request the result in descending order.
  536. """
  537. pass
  538.  
  539. def sum(*args, **kwargs): # real signature unknown
  540. """
  541. Return the sum of a 'start' value (default: 0) plus an iterable of numbers
  542.  
  543. When the iterable is empty, return the start value.
  544. This function is intended specifically for use with numeric values and may
  545. reject non-numeric types.
  546. """
  547. pass
  548.  
  549. def vars(p_object=None): # real signature unknown; restored from __doc__
  550. """
  551. vars([object]) -> dictionary
  552.  
  553. Without arguments, equivalent to locals().
  554. With an argument, equivalent to object.__dict__.
  555. """
  556. return {}
  557.  
  558. def __build_class__(func, name, *bases, metaclass=None, **kwds): # real signature unknown; restored from __doc__
  559. """
  560. __build_class__(func, name, *bases, metaclass=None, **kwds) -> class
  561.  
  562. Internal helper function used by the class statement.
  563. """
  564. pass
  565.  
  566. def __import__(name, globals=None, locals=None, fromlist=(), level=0): # real signature unknown; restored from __doc__
  567. """
  568. __import__(name, globals=None, locals=None, fromlist=(), level=0) -> module
  569.  
  570. Import a module. Because this function is meant for use by the Python
  571. interpreter and not for general use, it is better to use
  572. importlib.import_module() to programmatically import a module.
  573.  
  574. The globals argument is only used to determine the context;
  575. they are not modified. The locals argument is unused. The fromlist
  576. should be a list of names to emulate ``from name import ...'', or an
  577. empty list to emulate ``import name''.
  578. When importing a module from a package, note that __import__('A.B', ...)
  579. returns package A when fromlist is empty, but its submodule B when
  580. fromlist is not empty. The level argument is used to determine whether to
  581. perform absolute or relative imports: 0 is absolute, while a positive number
  582. is the number of parent directories to search relative to the current module.
  583. """
  584. pass
  585.  
  586. # classes
  587.  
  588. class __generator(object):
  589. '''A mock class representing the generator function type.'''
  590. def __init__(self):
  591. self.gi_code = None
  592. self.gi_frame = None
  593. self.gi_running = 0
  594.  
  595. def __iter__(self):
  596. '''Defined to support iteration over container.'''
  597. pass
  598.  
  599. def __next__(self):
  600. '''Return the next item from the container.'''
  601. pass
  602.  
  603. def close(self):
  604. '''Raises new GeneratorExit exception inside the generator to terminate the iteration.'''
  605. pass
  606.  
  607. def send(self, value):
  608. '''Resumes the generator and "sends" a value that becomes the result of the current yield-expression.'''
  609. pass
  610.  
  611. def throw(self, type, value=None, traceback=None):
  612. '''Used to raise an exception inside the generator.'''
  613. pass
  614.  
  615. class __asyncgenerator(object):
  616. '''A mock class representing the async generator function type.'''
  617. def __init__(self):
  618. '''Create an async generator object.'''
  619. self.__name__ = ''
  620. self.__qualname__ = ''
  621. self.ag_await = None
  622. self.ag_frame = None
  623. self.ag_running = False
  624. self.ag_code = None
  625.  
  626. def __aiter__(self):
  627. '''Defined to support iteration over container.'''
  628. pass
  629.  
  630. def __anext__(self):
  631. '''Returns an awaitable, that performs one asynchronous generator iteration when awaited.'''
  632. pass
  633.  
  634. def aclose(self):
  635. '''Returns an awaitable, that throws a GeneratorExit exception into generator.'''
  636. pass
  637.  
  638. def asend(self, value):
  639. '''Returns an awaitable, that pushes the value object in generator.'''
  640. pass
  641.  
  642. def athrow(self, type, value=None, traceback=None):
  643. '''Returns an awaitable, that throws an exception into generator.'''
  644. pass
  645.  
  646. class __function(object):
  647. '''A mock class representing function type.'''
  648.  
  649. def __init__(self):
  650. self.__name__ = ''
  651. self.__doc__ = ''
  652. self.__dict__ = ''
  653. self.__module__ = ''
  654.  
  655. self.__defaults__ = {}
  656. self.__globals__ = {}
  657. self.__closure__ = None
  658. self.__code__ = None
  659. self.__name__ = ''
  660.  
  661. self.__annotations__ = {}
  662. self.__kwdefaults__ = {}
  663.  
  664. self.__qualname__ = ''
  665.  
  666. class __method(object):
  667. '''A mock class representing method type.'''
  668.  
  669. def __init__(self):
  670.  
  671. self.__func__ = None
  672. self.__self__ = None
  673.  
  674. class __coroutine(object):
  675. '''A mock class representing coroutine type.'''
  676.  
  677. def __init__(self):
  678. self.__name__ = ''
  679. self.__qualname__ = ''
  680. self.cr_await = None
  681. self.cr_frame = None
  682. self.cr_running = False
  683. self.cr_code = None
  684.  
  685. def __await__(self):
  686. return []
  687.  
  688. def close(self):
  689. pass
  690.  
  691. def send(self, value):
  692. pass
  693.  
  694. def throw(self, type, value=None, traceback=None):
  695. pass
  696.  
  697. class __namedtuple(tuple):
  698. '''A mock base class for named tuples.'''
  699.  
  700. __slots__ = ()
  701. _fields = ()
  702.  
  703. def __new__(cls, *args, **kwargs):
  704. 'Create a new instance of the named tuple.'
  705. return tuple.__new__(cls, *args)
  706.  
  707. @classmethod
  708. def _make(cls, iterable, new=tuple.__new__, len=len):
  709. 'Make a new named tuple object from a sequence or iterable.'
  710. return new(cls, iterable)
  711.  
  712. def __repr__(self):
  713. return ''
  714.  
  715. def _asdict(self):
  716. 'Return a new dict which maps field types to their values.'
  717. return {}
  718.  
  719. def _replace(self, **kwargs):
  720. 'Return a new named tuple object replacing specified fields with new values.'
  721. return self
  722.  
  723. def __getnewargs__(self):
  724. return tuple(self)
  725.  
  726. class object:
  727. """ The most base type """
  728. def __delattr__(self, *args, **kwargs): # real signature unknown
  729. """ Implement delattr(self, name). """
  730. pass
  731.  
  732. def __dir__(self, *args, **kwargs): # real signature unknown
  733. """ Default dir() implementation. """
  734. pass
  735.  
  736. def __eq__(self, *args, **kwargs): # real signature unknown
  737. """ Return self==value. """
  738. pass
  739.  
  740. def __format__(self, *args, **kwargs): # real signature unknown
  741. """ Default object formatter. """
  742. pass
  743.  
  744. def __getattribute__(self, *args, **kwargs): # real signature unknown
  745. """ Return getattr(self, name). """
  746. pass
  747.  
  748. def __ge__(self, *args, **kwargs): # real signature unknown
  749. """ Return self>=value. """
  750. pass
  751.  
  752. def __gt__(self, *args, **kwargs): # real signature unknown
  753. """ Return self>value. """
  754. pass
  755.  
  756. def __hash__(self, *args, **kwargs): # real signature unknown
  757. """ Return hash(self). """
  758. pass
  759.  
  760. def __init_subclass__(self, *args, **kwargs): # real signature unknown
  761. """
  762. This method is called when a class is subclassed.
  763.  
  764. The default implementation does nothing. It may be
  765. overridden to extend subclasses.
  766. """
  767. pass
  768.  
  769. def __init__(self): # known special case of object.__init__
  770. """ Initialize self. See help(type(self)) for accurate signature. """
  771. pass
  772.  
  773. def __le__(self, *args, **kwargs): # real signature unknown
  774. """ Return self<=value. """
  775. pass
  776.  
  777. def __lt__(self, *args, **kwargs): # real signature unknown
  778. """ Return self<value. """
  779. pass
  780.  
  781. @staticmethod # known case of __new__
  782. def __new__(cls, *more): # known special case of object.__new__
  783. """ Create and return a new object. See help(type) for accurate signature. """
  784. pass
  785.  
  786. def __ne__(self, *args, **kwargs): # real signature unknown
  787. """ Return self!=value. """
  788. pass
  789.  
  790. def __reduce_ex__(self, *args, **kwargs): # real signature unknown
  791. """ Helper for pickle. """
  792. pass
  793.  
  794. def __reduce__(self, *args, **kwargs): # real signature unknown
  795. """ Helper for pickle. """
  796. pass
  797.  
  798. def __repr__(self, *args, **kwargs): # real signature unknown
  799. """ Return repr(self). """
  800. pass
  801.  
  802. def __setattr__(self, *args, **kwargs): # real signature unknown
  803. """ Implement setattr(self, name, value). """
  804. pass
  805.  
  806. def __sizeof__(self, *args, **kwargs): # real signature unknown
  807. """ Size of object in memory, in bytes. """
  808. pass
  809.  
  810. def __str__(self, *args, **kwargs): # real signature unknown
  811. """ Return str(self). """
  812. pass
  813.  
  814. @classmethod # known case
  815. def __subclasshook__(cls, subclass): # known special case of object.__subclasshook__
  816. """
  817. Abstract classes can override this to customize issubclass().
  818.  
  819. This is invoked early on by abc.ABCMeta.__subclasscheck__().
  820. It should return True, False or NotImplemented. If it returns
  821. NotImplemented, the normal algorithm is used. Otherwise, it
  822. overrides the normal algorithm (and the outcome is cached).
  823. """
  824. pass
  825.  
  826. __class__ = None # (!) forward: type, real value is "<class 'type'>"
  827. __dict__ = {}
  828. __doc__ = ''
  829. __module__ = ''
  830.  
  831. class BaseException(object):
  832. """ Common base class for all exceptions """
  833. def with_traceback(self, tb): # real signature unknown; restored from __doc__
  834. """
  835. Exception.with_traceback(tb) --
  836. set self.__traceback__ to tb and return self.
  837. """
  838. pass
  839.  
  840. def __delattr__(self, *args, **kwargs): # real signature unknown
  841. """ Implement delattr(self, name). """
  842. pass
  843.  
  844. def __getattribute__(self, *args, **kwargs): # real signature unknown
  845. """ Return getattr(self, name). """
  846. pass
  847.  
  848. def __init__(self, *args, **kwargs): # real signature unknown
  849. pass
  850.  
  851. @staticmethod # known case of __new__
  852. def __new__(*args, **kwargs): # real signature unknown
  853. """ Create and return a new object. See help(type) for accurate signature. """
  854. pass
  855.  
  856. def __reduce__(self, *args, **kwargs): # real signature unknown
  857. pass
  858.  
  859. def __repr__(self, *args, **kwargs): # real signature unknown
  860. """ Return repr(self). """
  861. pass
  862.  
  863. def __setattr__(self, *args, **kwargs): # real signature unknown
  864. """ Implement setattr(self, name, value). """
  865. pass
  866.  
  867. def __setstate__(self, *args, **kwargs): # real signature unknown
  868. pass
  869.  
  870. def __str__(self, *args, **kwargs): # real signature unknown
  871. """ Return str(self). """
  872. pass
  873.  
  874. args = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  875.  
  876. __cause__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  877. """exception cause"""
  878.  
  879. __context__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  880. """exception context"""
  881.  
  882. __suppress_context__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  883.  
  884. __traceback__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  885.  
  886. __dict__ = None # (!) real value is "mappingproxy({'__repr__': <slot wrapper '__repr__' of 'BaseException' objects>, '__str__': <slot wrapper '__str__' of 'BaseException' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'BaseException' objects>, '__setattr__': <slot wrapper '__setattr__' of 'BaseException' objects>, '__delattr__': <slot wrapper '__delattr__' of 'BaseException' objects>, '__init__': <slot wrapper '__init__' of 'BaseException' objects>, '__new__': <built-in method __new__ of type object at 0x00007FFC49400810>, '__reduce__': <method '__reduce__' of 'BaseException' objects>, '__setstate__': <method '__setstate__' of 'BaseException' objects>, 'with_traceback': <method 'with_traceback' of 'BaseException' objects>, '__suppress_context__': <member '__suppress_context__' of 'BaseException' objects>, '__dict__': <attribute '__dict__' of 'BaseException' objects>, 'args': <attribute 'args' of 'BaseException' objects>, '__traceback__': <attribute '__traceback__' of 'BaseException' objects>, '__context__': <attribute '__context__' of 'BaseException' objects>, '__cause__': <attribute '__cause__' of 'BaseException' objects>, '__doc__': 'Common base class for all exceptions'})"
  887.  
  888. class Exception(BaseException):
  889. """ Common base class for all non-exit exceptions. """
  890. def __init__(self, *args, **kwargs): # real signature unknown
  891. pass
  892.  
  893. @staticmethod # known case of __new__
  894. def __new__(*args, **kwargs): # real signature unknown
  895. """ Create and return a new object. See help(type) for accurate signature. """
  896. pass
  897.  
  898. class ArithmeticError(Exception):
  899. """ Base class for arithmetic errors. """
  900. def __init__(self, *args, **kwargs): # real signature unknown
  901. pass
  902.  
  903. @staticmethod # known case of __new__
  904. def __new__(*args, **kwargs): # real signature unknown
  905. """ Create and return a new object. See help(type) for accurate signature. """
  906. pass
  907.  
  908. class AssertionError(Exception):
  909. """ Assertion failed. """
  910. def __init__(self, *args, **kwargs): # real signature unknown
  911. pass
  912.  
  913. @staticmethod # known case of __new__
  914. def __new__(*args, **kwargs): # real signature unknown
  915. """ Create and return a new object. See help(type) for accurate signature. """
  916. pass
  917.  
  918. class AttributeError(Exception):
  919. """ Attribute not found. """
  920. def __init__(self, *args, **kwargs): # real signature unknown
  921. pass
  922.  
  923. @staticmethod # known case of __new__
  924. def __new__(*args, **kwargs): # real signature unknown
  925. """ Create and return a new object. See help(type) for accurate signature. """
  926. pass
  927.  
  928. class WindowsError(Exception):
  929. """ Base class for I/O related errors. """
  930. def __init__(self, *args, **kwargs): # real signature unknown
  931. pass
  932.  
  933. @staticmethod # known case of __new__
  934. def __new__(*args, **kwargs): # real signature unknown
  935. """ Create and return a new object. See help(type) for accurate signature. """
  936. pass
  937.  
  938. def __reduce__(self, *args, **kwargs): # real signature unknown
  939. pass
  940.  
  941. def __str__(self, *args, **kwargs): # real signature unknown
  942. """ Return str(self). """
  943. pass
  944.  
  945. characters_written = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  946.  
  947. errno = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  948. """POSIX exception code"""
  949.  
  950. filename = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  951. """exception filename"""
  952.  
  953. filename2 = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  954. """second exception filename"""
  955.  
  956. strerror = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  957. """exception strerror"""
  958.  
  959. winerror = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  960. """Win32 exception code"""
  961.  
  962. OSError = WindowsError
  963.  
  964. IOError = WindowsError
  965.  
  966. EnvironmentError = WindowsError
  967.  
  968. class BlockingIOError(OSError):
  969. """ I/O operation would block. """
  970. def __init__(self, *args, **kwargs): # real signature unknown
  971. pass
  972.  
  973. class int(object):
  974. """
  975. int([x]) -> integer
  976. int(x, base=10) -> integer
  977.  
  978. Convert a number or string to an integer, or return 0 if no arguments
  979. are given. If x is a number, return x.__int__(). For floating point
  980. numbers, this truncates towards zero.
  981.  
  982. If x is not a number or if base is given, then x must be a string,
  983. bytes, or bytearray instance representing an integer literal in the
  984. given base. The literal can be preceded by '+' or '-' and be surrounded
  985. by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
  986. Base 0 means to interpret the base from the string as an integer literal.
  987. >>> int('0b100', base=0)
  988. 4
  989. """
  990. def bit_length(self): # real signature unknown; restored from __doc__
  991. """
  992. Number of bits necessary to represent self in binary.
  993.  
  994. >>> bin(37)
  995. '0b100101'
  996. >>> (37).bit_length()
  997. 6
  998. """
  999. pass
  1000.  
  1001. def conjugate(self, *args, **kwargs): # real signature unknown
  1002. """ Returns self, the complex conjugate of any int. """
  1003. pass
  1004.  
  1005. @classmethod # known case
  1006. def from_bytes(cls, *args, **kwargs): # real signature unknown
  1007. """
  1008. Return the integer represented by the given array of bytes.
  1009.  
  1010. bytes
  1011. Holds the array of bytes to convert. The argument must either
  1012. support the buffer protocol or be an iterable object producing bytes.
  1013. Bytes and bytearray are examples of built-in objects that support the
  1014. buffer protocol.
  1015. byteorder
  1016. The byte order used to represent the integer. If byteorder is 'big',
  1017. the most significant byte is at the beginning of the byte array. If
  1018. byteorder is 'little', the most significant byte is at the end of the
  1019. byte array. To request the native byte order of the host system, use
  1020. `sys.byteorder' as the byte order value.
  1021. signed
  1022. Indicates whether two's complement is used to represent the integer.
  1023. """
  1024. pass
  1025.  
  1026. def to_bytes(self, *args, **kwargs): # real signature unknown
  1027. """
  1028. Return an array of bytes representing an integer.
  1029.  
  1030. length
  1031. Length of bytes object to use. An OverflowError is raised if the
  1032. integer is not representable with the given number of bytes.
  1033. byteorder
  1034. The byte order used to represent the integer. If byteorder is 'big',
  1035. the most significant byte is at the beginning of the byte array. If
  1036. byteorder is 'little', the most significant byte is at the end of the
  1037. byte array. To request the native byte order of the host system, use
  1038. `sys.byteorder' as the byte order value.
  1039. signed
  1040. Determines whether two's complement is used to represent the integer.
  1041. If signed is False and a negative integer is given, an OverflowError
  1042. is raised.
  1043. """
  1044. pass
  1045.  
  1046. def __abs__(self, *args, **kwargs): # real signature unknown
  1047. """ abs(self) """
  1048. pass
  1049.  
  1050. def __add__(self, *args, **kwargs): # real signature unknown
  1051. """ Return self+value. """
  1052. pass
  1053.  
  1054. def __and__(self, *args, **kwargs): # real signature unknown
  1055. """ Return self&value. """
  1056. pass
  1057.  
  1058. def __bool__(self, *args, **kwargs): # real signature unknown
  1059. """ self != 0 """
  1060. pass
  1061.  
  1062. def __ceil__(self, *args, **kwargs): # real signature unknown
  1063. """ Ceiling of an Integral returns itself. """
  1064. pass
  1065.  
  1066. def __divmod__(self, *args, **kwargs): # real signature unknown
  1067. """ Return divmod(self, value). """
  1068. pass
  1069.  
  1070. def __eq__(self, *args, **kwargs): # real signature unknown
  1071. """ Return self==value. """
  1072. pass
  1073.  
  1074. def __float__(self, *args, **kwargs): # real signature unknown
  1075. """ float(self) """
  1076. pass
  1077.  
  1078. def __floordiv__(self, *args, **kwargs): # real signature unknown
  1079. """ Return self//value. """
  1080. pass
  1081.  
  1082. def __floor__(self, *args, **kwargs): # real signature unknown
  1083. """ Flooring an Integral returns itself. """
  1084. pass
  1085.  
  1086. def __format__(self, *args, **kwargs): # real signature unknown
  1087. pass
  1088.  
  1089. def __getattribute__(self, *args, **kwargs): # real signature unknown
  1090. """ Return getattr(self, name). """
  1091. pass
  1092.  
  1093. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  1094. pass
  1095.  
  1096. def __ge__(self, *args, **kwargs): # real signature unknown
  1097. """ Return self>=value. """
  1098. pass
  1099.  
  1100. def __gt__(self, *args, **kwargs): # real signature unknown
  1101. """ Return self>value. """
  1102. pass
  1103.  
  1104. def __hash__(self, *args, **kwargs): # real signature unknown
  1105. """ Return hash(self). """
  1106. pass
  1107.  
  1108. def __index__(self, *args, **kwargs): # real signature unknown
  1109. """ Return self converted to an integer, if self is suitable for use as an index into a list. """
  1110. pass
  1111.  
  1112. def __init__(self, x, base=10): # known special case of int.__init__
  1113. """
  1114. int([x]) -> integer
  1115. int(x, base=10) -> integer
  1116.  
  1117. Convert a number or string to an integer, or return 0 if no arguments
  1118. are given. If x is a number, return x.__int__(). For floating point
  1119. numbers, this truncates towards zero.
  1120.  
  1121. If x is not a number or if base is given, then x must be a string,
  1122. bytes, or bytearray instance representing an integer literal in the
  1123. given base. The literal can be preceded by '+' or '-' and be surrounded
  1124. by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
  1125. Base 0 means to interpret the base from the string as an integer literal.
  1126. >>> int('0b100', base=0)
  1127. 4
  1128. # (copied from class doc)
  1129. """
  1130. pass
  1131.  
  1132. def __int__(self, *args, **kwargs): # real signature unknown
  1133. """ int(self) """
  1134. pass
  1135.  
  1136. def __invert__(self, *args, **kwargs): # real signature unknown
  1137. """ ~self """
  1138. pass
  1139.  
  1140. def __le__(self, *args, **kwargs): # real signature unknown
  1141. """ Return self<=value. """
  1142. pass
  1143.  
  1144. def __lshift__(self, *args, **kwargs): # real signature unknown
  1145. """ Return self<<value. """
  1146. pass
  1147.  
  1148. def __lt__(self, *args, **kwargs): # real signature unknown
  1149. """ Return self<value. """
  1150. pass
  1151.  
  1152. def __mod__(self, *args, **kwargs): # real signature unknown
  1153. """ Return self%value. """
  1154. pass
  1155.  
  1156. def __mul__(self, *args, **kwargs): # real signature unknown
  1157. """ Return self*value. """
  1158. pass
  1159.  
  1160. def __neg__(self, *args, **kwargs): # real signature unknown
  1161. """ -self """
  1162. pass
  1163.  
  1164. @staticmethod # known case of __new__
  1165. def __new__(*args, **kwargs): # real signature unknown
  1166. """ Create and return a new object. See help(type) for accurate signature. """
  1167. pass
  1168.  
  1169. def __ne__(self, *args, **kwargs): # real signature unknown
  1170. """ Return self!=value. """
  1171. pass
  1172.  
  1173. def __or__(self, *args, **kwargs): # real signature unknown
  1174. """ Return self|value. """
  1175. pass
  1176.  
  1177. def __pos__(self, *args, **kwargs): # real signature unknown
  1178. """ +self """
  1179. pass
  1180.  
  1181. def __pow__(self, *args, **kwargs): # real signature unknown
  1182. """ Return pow(self, value, mod). """
  1183. pass
  1184.  
  1185. def __radd__(self, *args, **kwargs): # real signature unknown
  1186. """ Return value+self. """
  1187. pass
  1188.  
  1189. def __rand__(self, *args, **kwargs): # real signature unknown
  1190. """ Return value&self. """
  1191. pass
  1192.  
  1193. def __rdivmod__(self, *args, **kwargs): # real signature unknown
  1194. """ Return divmod(value, self). """
  1195. pass
  1196.  
  1197. def __repr__(self, *args, **kwargs): # real signature unknown
  1198. """ Return repr(self). """
  1199. pass
  1200.  
  1201. def __rfloordiv__(self, *args, **kwargs): # real signature unknown
  1202. """ Return value//self. """
  1203. pass
  1204.  
  1205. def __rlshift__(self, *args, **kwargs): # real signature unknown
  1206. """ Return value<<self. """
  1207. pass
  1208.  
  1209. def __rmod__(self, *args, **kwargs): # real signature unknown
  1210. """ Return value%self. """
  1211. pass
  1212.  
  1213. def __rmul__(self, *args, **kwargs): # real signature unknown
  1214. """ Return value*self. """
  1215. pass
  1216.  
  1217. def __ror__(self, *args, **kwargs): # real signature unknown
  1218. """ Return value|self. """
  1219. pass
  1220.  
  1221. def __round__(self, *args, **kwargs): # real signature unknown
  1222. """
  1223. Rounding an Integral returns itself.
  1224. Rounding with an ndigits argument also returns an integer.
  1225. """
  1226. pass
  1227.  
  1228. def __rpow__(self, *args, **kwargs): # real signature unknown
  1229. """ Return pow(value, self, mod). """
  1230. pass
  1231.  
  1232. def __rrshift__(self, *args, **kwargs): # real signature unknown
  1233. """ Return value>>self. """
  1234. pass
  1235.  
  1236. def __rshift__(self, *args, **kwargs): # real signature unknown
  1237. """ Return self>>value. """
  1238. pass
  1239.  
  1240. def __rsub__(self, *args, **kwargs): # real signature unknown
  1241. """ Return value-self. """
  1242. pass
  1243.  
  1244. def __rtruediv__(self, *args, **kwargs): # real signature unknown
  1245. """ Return value/self. """
  1246. pass
  1247.  
  1248. def __rxor__(self, *args, **kwargs): # real signature unknown
  1249. """ Return value^self. """
  1250. pass
  1251.  
  1252. def __sizeof__(self, *args, **kwargs): # real signature unknown
  1253. """ Returns size in memory, in bytes. """
  1254. pass
  1255.  
  1256. def __str__(self, *args, **kwargs): # real signature unknown
  1257. """ Return str(self). """
  1258. pass
  1259.  
  1260. def __sub__(self, *args, **kwargs): # real signature unknown
  1261. """ Return self-value. """
  1262. pass
  1263.  
  1264. def __truediv__(self, *args, **kwargs): # real signature unknown
  1265. """ Return self/value. """
  1266. pass
  1267.  
  1268. def __trunc__(self, *args, **kwargs): # real signature unknown
  1269. """ Truncating an Integral returns itself. """
  1270. pass
  1271.  
  1272. def __xor__(self, *args, **kwargs): # real signature unknown
  1273. """ Return self^value. """
  1274. pass
  1275.  
  1276. denominator = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  1277. """the denominator of a rational number in lowest terms"""
  1278.  
  1279. imag = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  1280. """the imaginary part of a complex number"""
  1281.  
  1282. numerator = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  1283. """the numerator of a rational number in lowest terms"""
  1284.  
  1285. real = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  1286. """the real part of a complex number"""
  1287.  
  1288. class bool(int):
  1289. """
  1290. bool(x) -> bool
  1291.  
  1292. Returns True when the argument x is true, False otherwise.
  1293. The builtins True and False are the only two instances of the class bool.
  1294. The class bool is a subclass of the class int, and cannot be subclassed.
  1295. """
  1296. def __and__(self, *args, **kwargs): # real signature unknown
  1297. """ Return self&value. """
  1298. pass
  1299.  
  1300. def __init__(self, x): # real signature unknown; restored from __doc__
  1301. pass
  1302.  
  1303. @staticmethod # known case of __new__
  1304. def __new__(*args, **kwargs): # real signature unknown
  1305. """ Create and return a new object. See help(type) for accurate signature. """
  1306. pass
  1307.  
  1308. def __or__(self, *args, **kwargs): # real signature unknown
  1309. """ Return self|value. """
  1310. pass
  1311.  
  1312. def __rand__(self, *args, **kwargs): # real signature unknown
  1313. """ Return value&self. """
  1314. pass
  1315.  
  1316. def __repr__(self, *args, **kwargs): # real signature unknown
  1317. """ Return repr(self). """
  1318. pass
  1319.  
  1320. def __ror__(self, *args, **kwargs): # real signature unknown
  1321. """ Return value|self. """
  1322. pass
  1323.  
  1324. def __rxor__(self, *args, **kwargs): # real signature unknown
  1325. """ Return value^self. """
  1326. pass
  1327.  
  1328. def __str__(self, *args, **kwargs): # real signature unknown
  1329. """ Return str(self). """
  1330. pass
  1331.  
  1332. def __xor__(self, *args, **kwargs): # real signature unknown
  1333. """ Return self^value. """
  1334. pass
  1335.  
  1336. class ConnectionError(OSError):
  1337. """ Connection error. """
  1338. def __init__(self, *args, **kwargs): # real signature unknown
  1339. pass
  1340.  
  1341. class BrokenPipeError(ConnectionError):
  1342. """ Broken pipe. """
  1343. def __init__(self, *args, **kwargs): # real signature unknown
  1344. pass
  1345.  
  1346. class BufferError(Exception):
  1347. """ Buffer error. """
  1348. def __init__(self, *args, **kwargs): # real signature unknown
  1349. pass
  1350.  
  1351. @staticmethod # known case of __new__
  1352. def __new__(*args, **kwargs): # real signature unknown
  1353. """ Create and return a new object. See help(type) for accurate signature. """
  1354. pass
  1355.  
  1356. class bytearray(object):
  1357. """
  1358. bytearray(iterable_of_ints) -> bytearray
  1359. bytearray(string, encoding[, errors]) -> bytearray
  1360. bytearray(bytes_or_buffer) -> mutable copy of bytes_or_buffer
  1361. bytearray(int) -> bytes array of size given by the parameter initialized with null bytes
  1362. bytearray() -> empty bytes array
  1363.  
  1364. Construct a mutable bytearray object from:
  1365. - an iterable yielding integers in range(256)
  1366. - a text string encoded using the specified encoding
  1367. - a bytes or a buffer object
  1368. - any object implementing the buffer API.
  1369. - an integer
  1370. """
  1371. def append(self, *args, **kwargs): # real signature unknown
  1372. """
  1373. Append a single item to the end of the bytearray.
  1374.  
  1375. item
  1376. The item to be appended.
  1377. """
  1378. pass
  1379.  
  1380. def capitalize(self): # real signature unknown; restored from __doc__
  1381. """
  1382. B.capitalize() -> copy of B
  1383.  
  1384. Return a copy of B with only its first character capitalized (ASCII)
  1385. and the rest lower-cased.
  1386. """
  1387. pass
  1388.  
  1389. def center(self, width, fillchar=None): # real signature unknown; restored from __doc__
  1390. """
  1391. B.center(width[, fillchar]) -> copy of B
  1392.  
  1393. Return B centered in a string of length width. Padding is
  1394. done using the specified fill character (default is a space).
  1395. """
  1396. pass
  1397.  
  1398. def clear(self, *args, **kwargs): # real signature unknown
  1399. """ Remove all items from the bytearray. """
  1400. pass
  1401.  
  1402. def copy(self, *args, **kwargs): # real signature unknown
  1403. """ Return a copy of B. """
  1404. pass
  1405.  
  1406. def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  1407. """
  1408. B.count(sub[, start[, end]]) -> int
  1409.  
  1410. Return the number of non-overlapping occurrences of subsection sub in
  1411. bytes B[start:end]. Optional arguments start and end are interpreted
  1412. as in slice notation.
  1413. """
  1414. return 0
  1415.  
  1416. def decode(self, *args, **kwargs): # real signature unknown
  1417. """
  1418. Decode the bytearray using the codec registered for encoding.
  1419.  
  1420. encoding
  1421. The encoding with which to decode the bytearray.
  1422. errors
  1423. The error handling scheme to use for the handling of decoding errors.
  1424. The default is 'strict' meaning that decoding errors raise a
  1425. UnicodeDecodeError. Other possible values are 'ignore' and 'replace'
  1426. as well as any other name registered with codecs.register_error that
  1427. can handle UnicodeDecodeErrors.
  1428. """
  1429. pass
  1430.  
  1431. def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__
  1432. """
  1433. B.endswith(suffix[, start[, end]]) -> bool
  1434.  
  1435. Return True if B ends with the specified suffix, False otherwise.
  1436. With optional start, test B beginning at that position.
  1437. With optional end, stop comparing B at that position.
  1438. suffix can also be a tuple of bytes to try.
  1439. """
  1440. return False
  1441.  
  1442. def expandtabs(self, tabsize=8): # real signature unknown; restored from __doc__
  1443. """
  1444. B.expandtabs(tabsize=8) -> copy of B
  1445.  
  1446. Return a copy of B where all tab characters are expanded using spaces.
  1447. If tabsize is not given, a tab size of 8 characters is assumed.
  1448. """
  1449. pass
  1450.  
  1451. def extend(self, *args, **kwargs): # real signature unknown
  1452. """
  1453. Append all the items from the iterator or sequence to the end of the bytearray.
  1454.  
  1455. iterable_of_ints
  1456. The iterable of items to append.
  1457. """
  1458. pass
  1459.  
  1460. def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  1461. """
  1462. B.find(sub[, start[, end]]) -> int
  1463.  
  1464. Return the lowest index in B where subsection sub is found,
  1465. such that sub is contained within B[start,end]. Optional
  1466. arguments start and end are interpreted as in slice notation.
  1467.  
  1468. Return -1 on failure.
  1469. """
  1470. return 0
  1471.  
  1472. @classmethod # known case
  1473. def fromhex(cls, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  1474. """
  1475. Create a bytearray object from a string of hexadecimal numbers.
  1476.  
  1477. Spaces between two numbers are accepted.
  1478. Example: bytearray.fromhex('B9 01EF') -> bytearray(b'\\xb9\\x01\\xef')
  1479. """
  1480. pass
  1481.  
  1482. def hex(self): # real signature unknown; restored from __doc__
  1483. """
  1484. B.hex() -> string
  1485.  
  1486. Create a string of hexadecimal numbers from a bytearray object.
  1487. Example: bytearray([0xb9, 0x01, 0xef]).hex() -> 'b901ef'.
  1488. """
  1489. return ""
  1490.  
  1491. def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  1492. """
  1493. B.index(sub[, start[, end]]) -> int
  1494.  
  1495. Return the lowest index in B where subsection sub is found,
  1496. such that sub is contained within B[start,end]. Optional
  1497. arguments start and end are interpreted as in slice notation.
  1498.  
  1499. Raises ValueError when the subsection is not found.
  1500. """
  1501. return 0
  1502.  
  1503. def insert(self, *args, **kwargs): # real signature unknown
  1504. """
  1505. Insert a single item into the bytearray before the given index.
  1506.  
  1507. index
  1508. The index where the value is to be inserted.
  1509. item
  1510. The item to be inserted.
  1511. """
  1512. pass
  1513.  
  1514. def isalnum(self): # real signature unknown; restored from __doc__
  1515. """
  1516. B.isalnum() -> bool
  1517.  
  1518. Return True if all characters in B are alphanumeric
  1519. and there is at least one character in B, False otherwise.
  1520. """
  1521. return False
  1522.  
  1523. def isalpha(self): # real signature unknown; restored from __doc__
  1524. """
  1525. B.isalpha() -> bool
  1526.  
  1527. Return True if all characters in B are alphabetic
  1528. and there is at least one character in B, False otherwise.
  1529. """
  1530. return False
  1531.  
  1532. def isascii(self): # real signature unknown; restored from __doc__
  1533. """
  1534. B.isascii() -> bool
  1535.  
  1536. Return True if B is empty or all characters in B are ASCII,
  1537. False otherwise.
  1538. """
  1539. return False
  1540.  
  1541. def isdigit(self): # real signature unknown; restored from __doc__
  1542. """
  1543. B.isdigit() -> bool
  1544.  
  1545. Return True if all characters in B are digits
  1546. and there is at least one character in B, False otherwise.
  1547. """
  1548. return False
  1549.  
  1550. def islower(self): # real signature unknown; restored from __doc__
  1551. """
  1552. B.islower() -> bool
  1553.  
  1554. Return True if all cased characters in B are lowercase and there is
  1555. at least one cased character in B, False otherwise.
  1556. """
  1557. return False
  1558.  
  1559. def isspace(self): # real signature unknown; restored from __doc__
  1560. """
  1561. B.isspace() -> bool
  1562.  
  1563. Return True if all characters in B are whitespace
  1564. and there is at least one character in B, False otherwise.
  1565. """
  1566. return False
  1567.  
  1568. def istitle(self): # real signature unknown; restored from __doc__
  1569. """
  1570. B.istitle() -> bool
  1571.  
  1572. Return True if B is a titlecased string and there is at least one
  1573. character in B, i.e. uppercase characters may only follow uncased
  1574. characters and lowercase characters only cased ones. Return False
  1575. otherwise.
  1576. """
  1577. return False
  1578.  
  1579. def isupper(self): # real signature unknown; restored from __doc__
  1580. """
  1581. B.isupper() -> bool
  1582.  
  1583. Return True if all cased characters in B are uppercase and there is
  1584. at least one cased character in B, False otherwise.
  1585. """
  1586. return False
  1587.  
  1588. def join(self, *args, **kwargs): # real signature unknown
  1589. """
  1590. Concatenate any number of bytes/bytearray objects.
  1591.  
  1592. The bytearray whose method is called is inserted in between each pair.
  1593.  
  1594. The result is returned as a new bytearray object.
  1595. """
  1596. pass
  1597.  
  1598. def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__
  1599. """
  1600. B.ljust(width[, fillchar]) -> copy of B
  1601.  
  1602. Return B left justified in a string of length width. Padding is
  1603. done using the specified fill character (default is a space).
  1604. """
  1605. pass
  1606.  
  1607. def lower(self): # real signature unknown; restored from __doc__
  1608. """
  1609. B.lower() -> copy of B
  1610.  
  1611. Return a copy of B with all ASCII characters converted to lowercase.
  1612. """
  1613. pass
  1614.  
  1615. def lstrip(self, *args, **kwargs): # real signature unknown
  1616. """
  1617. Strip leading bytes contained in the argument.
  1618.  
  1619. If the argument is omitted or None, strip leading ASCII whitespace.
  1620. """
  1621. pass
  1622.  
  1623. @staticmethod # known case
  1624. def maketrans(*args, **kwargs): # real signature unknown
  1625. """
  1626. Return a translation table useable for the bytes or bytearray translate method.
  1627.  
  1628. The returned table will be one where each byte in frm is mapped to the byte at
  1629. the same position in to.
  1630.  
  1631. The bytes objects frm and to must be of the same length.
  1632. """
  1633. pass
  1634.  
  1635. def partition(self, *args, **kwargs): # real signature unknown
  1636. """
  1637. Partition the bytearray into three parts using the given separator.
  1638.  
  1639. This will search for the separator sep in the bytearray. If the separator is
  1640. found, returns a 3-tuple containing the part before the separator, the
  1641. separator itself, and the part after it as new bytearray objects.
  1642.  
  1643. If the separator is not found, returns a 3-tuple containing the copy of the
  1644. original bytearray object and two empty bytearray objects.
  1645. """
  1646. pass
  1647.  
  1648. def pop(self, *args, **kwargs): # real signature unknown
  1649. """
  1650. Remove and return a single item from B.
  1651.  
  1652. index
  1653. The index from where to remove the item.
  1654. -1 (the default value) means remove the last item.
  1655.  
  1656. If no index argument is given, will pop the last item.
  1657. """
  1658. pass
  1659.  
  1660. def remove(self, *args, **kwargs): # real signature unknown
  1661. """
  1662. Remove the first occurrence of a value in the bytearray.
  1663.  
  1664. value
  1665. The value to remove.
  1666. """
  1667. pass
  1668.  
  1669. def replace(self, *args, **kwargs): # real signature unknown
  1670. """
  1671. Return a copy with all occurrences of substring old replaced by new.
  1672.  
  1673. count
  1674. Maximum number of occurrences to replace.
  1675. -1 (the default value) means replace all occurrences.
  1676.  
  1677. If the optional argument count is given, only the first count occurrences are
  1678. replaced.
  1679. """
  1680. pass
  1681.  
  1682. def reverse(self, *args, **kwargs): # real signature unknown
  1683. """ Reverse the order of the values in B in place. """
  1684. pass
  1685.  
  1686. def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  1687. """
  1688. B.rfind(sub[, start[, end]]) -> int
  1689.  
  1690. Return the highest index in B where subsection sub is found,
  1691. such that sub is contained within B[start,end]. Optional
  1692. arguments start and end are interpreted as in slice notation.
  1693.  
  1694. Return -1 on failure.
  1695. """
  1696. return 0
  1697.  
  1698. def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  1699. """
  1700. B.rindex(sub[, start[, end]]) -> int
  1701.  
  1702. Return the highest index in B where subsection sub is found,
  1703. such that sub is contained within B[start,end]. Optional
  1704. arguments start and end are interpreted as in slice notation.
  1705.  
  1706. Raise ValueError when the subsection is not found.
  1707. """
  1708. return 0
  1709.  
  1710. def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__
  1711. """
  1712. B.rjust(width[, fillchar]) -> copy of B
  1713.  
  1714. Return B right justified in a string of length width. Padding is
  1715. done using the specified fill character (default is a space)
  1716. """
  1717. pass
  1718.  
  1719. def rpartition(self, *args, **kwargs): # real signature unknown
  1720. """
  1721. Partition the bytearray into three parts using the given separator.
  1722.  
  1723. This will search for the separator sep in the bytearray, starting at the end.
  1724. If the separator is found, returns a 3-tuple containing the part before the
  1725. separator, the separator itself, and the part after it as new bytearray
  1726. objects.
  1727.  
  1728. If the separator is not found, returns a 3-tuple containing two empty bytearray
  1729. objects and the copy of the original bytearray object.
  1730. """
  1731. pass
  1732.  
  1733. def rsplit(self, *args, **kwargs): # real signature unknown
  1734. """
  1735. Return a list of the sections in the bytearray, using sep as the delimiter.
  1736.  
  1737. sep
  1738. The delimiter according which to split the bytearray.
  1739. None (the default value) means split on ASCII whitespace characters
  1740. (space, tab, return, newline, formfeed, vertical tab).
  1741. maxsplit
  1742. Maximum number of splits to do.
  1743. -1 (the default value) means no limit.
  1744.  
  1745. Splitting is done starting at the end of the bytearray and working to the front.
  1746. """
  1747. pass
  1748.  
  1749. def rstrip(self, *args, **kwargs): # real signature unknown
  1750. """
  1751. Strip trailing bytes contained in the argument.
  1752.  
  1753. If the argument is omitted or None, strip trailing ASCII whitespace.
  1754. """
  1755. pass
  1756.  
  1757. def split(self, *args, **kwargs): # real signature unknown
  1758. """
  1759. Return a list of the sections in the bytearray, using sep as the delimiter.
  1760.  
  1761. sep
  1762. The delimiter according which to split the bytearray.
  1763. None (the default value) means split on ASCII whitespace characters
  1764. (space, tab, return, newline, formfeed, vertical tab).
  1765. maxsplit
  1766. Maximum number of splits to do.
  1767. -1 (the default value) means no limit.
  1768. """
  1769. pass
  1770.  
  1771. def splitlines(self, *args, **kwargs): # real signature unknown
  1772. """
  1773. Return a list of the lines in the bytearray, breaking at line boundaries.
  1774.  
  1775. Line breaks are not included in the resulting list unless keepends is given and
  1776. true.
  1777. """
  1778. pass
  1779.  
  1780. def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__
  1781. """
  1782. B.startswith(prefix[, start[, end]]) -> bool
  1783.  
  1784. Return True if B starts with the specified prefix, False otherwise.
  1785. With optional start, test B beginning at that position.
  1786. With optional end, stop comparing B at that position.
  1787. prefix can also be a tuple of bytes to try.
  1788. """
  1789. return False
  1790.  
  1791. def strip(self, *args, **kwargs): # real signature unknown
  1792. """
  1793. Strip leading and trailing bytes contained in the argument.
  1794.  
  1795. If the argument is omitted or None, strip leading and trailing ASCII whitespace.
  1796. """
  1797. pass
  1798.  
  1799. def swapcase(self): # real signature unknown; restored from __doc__
  1800. """
  1801. B.swapcase() -> copy of B
  1802.  
  1803. Return a copy of B with uppercase ASCII characters converted
  1804. to lowercase ASCII and vice versa.
  1805. """
  1806. pass
  1807.  
  1808. def title(self): # real signature unknown; restored from __doc__
  1809. """
  1810. B.title() -> copy of B
  1811.  
  1812. Return a titlecased version of B, i.e. ASCII words start with uppercase
  1813. characters, all remaining cased characters have lowercase.
  1814. """
  1815. pass
  1816.  
  1817. def translate(self, *args, **kwargs): # real signature unknown
  1818. """
  1819. Return a copy with each character mapped by the given translation table.
  1820.  
  1821. table
  1822. Translation table, which must be a bytes object of length 256.
  1823.  
  1824. All characters occurring in the optional argument delete are removed.
  1825. The remaining characters are mapped through the given translation table.
  1826. """
  1827. pass
  1828.  
  1829. def upper(self): # real signature unknown; restored from __doc__
  1830. """
  1831. B.upper() -> copy of B
  1832.  
  1833. Return a copy of B with all ASCII characters converted to uppercase.
  1834. """
  1835. pass
  1836.  
  1837. def zfill(self, width): # real signature unknown; restored from __doc__
  1838. """
  1839. B.zfill(width) -> copy of B
  1840.  
  1841. Pad a numeric string B with zeros on the left, to fill a field
  1842. of the specified width. B is never truncated.
  1843. """
  1844. pass
  1845.  
  1846. def __add__(self, *args, **kwargs): # real signature unknown
  1847. """ Return self+value. """
  1848. pass
  1849.  
  1850. def __alloc__(self): # real signature unknown; restored from __doc__
  1851. """
  1852. B.__alloc__() -> int
  1853.  
  1854. Return the number of bytes actually allocated.
  1855. """
  1856. return 0
  1857.  
  1858. def __contains__(self, *args, **kwargs): # real signature unknown
  1859. """ Return key in self. """
  1860. pass
  1861.  
  1862. def __delitem__(self, *args, **kwargs): # real signature unknown
  1863. """ Delete self[key]. """
  1864. pass
  1865.  
  1866. def __eq__(self, *args, **kwargs): # real signature unknown
  1867. """ Return self==value. """
  1868. pass
  1869.  
  1870. def __getattribute__(self, *args, **kwargs): # real signature unknown
  1871. """ Return getattr(self, name). """
  1872. pass
  1873.  
  1874. def __getitem__(self, *args, **kwargs): # real signature unknown
  1875. """ Return self[key]. """
  1876. pass
  1877.  
  1878. def __ge__(self, *args, **kwargs): # real signature unknown
  1879. """ Return self>=value. """
  1880. pass
  1881.  
  1882. def __gt__(self, *args, **kwargs): # real signature unknown
  1883. """ Return self>value. """
  1884. pass
  1885.  
  1886. def __iadd__(self, *args, **kwargs): # real signature unknown
  1887. """ Implement self+=value. """
  1888. pass
  1889.  
  1890. def __imul__(self, *args, **kwargs): # real signature unknown
  1891. """ Implement self*=value. """
  1892. pass
  1893.  
  1894. def __init__(self, source=None, encoding=None, errors='strict'): # known special case of bytearray.__init__
  1895. """
  1896. bytearray(iterable_of_ints) -> bytearray
  1897. bytearray(string, encoding[, errors]) -> bytearray
  1898. bytearray(bytes_or_buffer) -> mutable copy of bytes_or_buffer
  1899. bytearray(int) -> bytes array of size given by the parameter initialized with null bytes
  1900. bytearray() -> empty bytes array
  1901.  
  1902. Construct a mutable bytearray object from:
  1903. - an iterable yielding integers in range(256)
  1904. - a text string encoded using the specified encoding
  1905. - a bytes or a buffer object
  1906. - any object implementing the buffer API.
  1907. - an integer
  1908. # (copied from class doc)
  1909. """
  1910. pass
  1911.  
  1912. def __iter__(self, *args, **kwargs): # real signature unknown
  1913. """ Implement iter(self). """
  1914. pass
  1915.  
  1916. def __len__(self, *args, **kwargs): # real signature unknown
  1917. """ Return len(self). """
  1918. pass
  1919.  
  1920. def __le__(self, *args, **kwargs): # real signature unknown
  1921. """ Return self<=value. """
  1922. pass
  1923.  
  1924. def __lt__(self, *args, **kwargs): # real signature unknown
  1925. """ Return self<value. """
  1926. pass
  1927.  
  1928. def __mod__(self, *args, **kwargs): # real signature unknown
  1929. """ Return self%value. """
  1930. pass
  1931.  
  1932. def __mul__(self, *args, **kwargs): # real signature unknown
  1933. """ Return self*value. """
  1934. pass
  1935.  
  1936. @staticmethod # known case of __new__
  1937. def __new__(*args, **kwargs): # real signature unknown
  1938. """ Create and return a new object. See help(type) for accurate signature. """
  1939. pass
  1940.  
  1941. def __ne__(self, *args, **kwargs): # real signature unknown
  1942. """ Return self!=value. """
  1943. pass
  1944.  
  1945. def __reduce_ex__(self, *args, **kwargs): # real signature unknown
  1946. """ Return state information for pickling. """
  1947. pass
  1948.  
  1949. def __reduce__(self, *args, **kwargs): # real signature unknown
  1950. """ Return state information for pickling. """
  1951. pass
  1952.  
  1953. def __repr__(self, *args, **kwargs): # real signature unknown
  1954. """ Return repr(self). """
  1955. pass
  1956.  
  1957. def __rmod__(self, *args, **kwargs): # real signature unknown
  1958. """ Return value%self. """
  1959. pass
  1960.  
  1961. def __rmul__(self, *args, **kwargs): # real signature unknown
  1962. """ Return value*self. """
  1963. pass
  1964.  
  1965. def __setitem__(self, *args, **kwargs): # real signature unknown
  1966. """ Set self[key] to value. """
  1967. pass
  1968.  
  1969. def __sizeof__(self, *args, **kwargs): # real signature unknown
  1970. """ Returns the size of the bytearray object in memory, in bytes. """
  1971. pass
  1972.  
  1973. def __str__(self, *args, **kwargs): # real signature unknown
  1974. """ Return str(self). """
  1975. pass
  1976.  
  1977. __hash__ = None
  1978.  
  1979. class bytes(object):
  1980. """
  1981. bytes(iterable_of_ints) -> bytes
  1982. bytes(string, encoding[, errors]) -> bytes
  1983. bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
  1984. bytes(int) -> bytes object of size given by the parameter initialized with null bytes
  1985. bytes() -> empty bytes object
  1986.  
  1987. Construct an immutable array of bytes from:
  1988. - an iterable yielding integers in range(256)
  1989. - a text string encoded using the specified encoding
  1990. - any object implementing the buffer API.
  1991. - an integer
  1992. """
  1993. def capitalize(self): # real signature unknown; restored from __doc__
  1994. """
  1995. B.capitalize() -> copy of B
  1996.  
  1997. Return a copy of B with only its first character capitalized (ASCII)
  1998. and the rest lower-cased.
  1999. """
  2000. pass
  2001.  
  2002. def center(self, width, fillchar=None): # real signature unknown; restored from __doc__
  2003. """
  2004. B.center(width[, fillchar]) -> copy of B
  2005.  
  2006. Return B centered in a string of length width. Padding is
  2007. done using the specified fill character (default is a space).
  2008. """
  2009. pass
  2010.  
  2011. def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  2012. """
  2013. B.count(sub[, start[, end]]) -> int
  2014.  
  2015. Return the number of non-overlapping occurrences of subsection sub in
  2016. bytes B[start:end]. Optional arguments start and end are interpreted
  2017. as in slice notation.
  2018. """
  2019. return 0
  2020.  
  2021. def decode(self, *args, **kwargs): # real signature unknown
  2022. """
  2023. Decode the bytes using the codec registered for encoding.
  2024.  
  2025. encoding
  2026. The encoding with which to decode the bytes.
  2027. errors
  2028. The error handling scheme to use for the handling of decoding errors.
  2029. The default is 'strict' meaning that decoding errors raise a
  2030. UnicodeDecodeError. Other possible values are 'ignore' and 'replace'
  2031. as well as any other name registered with codecs.register_error that
  2032. can handle UnicodeDecodeErrors.
  2033. """
  2034. pass
  2035.  
  2036. def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__
  2037. """
  2038. B.endswith(suffix[, start[, end]]) -> bool
  2039.  
  2040. Return True if B ends with the specified suffix, False otherwise.
  2041. With optional start, test B beginning at that position.
  2042. With optional end, stop comparing B at that position.
  2043. suffix can also be a tuple of bytes to try.
  2044. """
  2045. return False
  2046.  
  2047. def expandtabs(self, tabsize=8): # real signature unknown; restored from __doc__
  2048. """
  2049. B.expandtabs(tabsize=8) -> copy of B
  2050.  
  2051. Return a copy of B where all tab characters are expanded using spaces.
  2052. If tabsize is not given, a tab size of 8 characters is assumed.
  2053. """
  2054. pass
  2055.  
  2056. def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  2057. """
  2058. B.find(sub[, start[, end]]) -> int
  2059.  
  2060. Return the lowest index in B where subsection sub is found,
  2061. such that sub is contained within B[start,end]. Optional
  2062. arguments start and end are interpreted as in slice notation.
  2063.  
  2064. Return -1 on failure.
  2065. """
  2066. return 0
  2067.  
  2068. @classmethod # known case
  2069. def fromhex(cls, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  2070. """
  2071. Create a bytes object from a string of hexadecimal numbers.
  2072.  
  2073. Spaces between two numbers are accepted.
  2074. Example: bytes.fromhex('B9 01EF') -> b'\\xb9\\x01\\xef'.
  2075. """
  2076. pass
  2077.  
  2078. def hex(self): # real signature unknown; restored from __doc__
  2079. """
  2080. B.hex() -> string
  2081.  
  2082. Create a string of hexadecimal numbers from a bytes object.
  2083. Example: b'\xb9\x01\xef'.hex() -> 'b901ef'.
  2084. """
  2085. return ""
  2086.  
  2087. def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  2088. """
  2089. B.index(sub[, start[, end]]) -> int
  2090.  
  2091. Return the lowest index in B where subsection sub is found,
  2092. such that sub is contained within B[start,end]. Optional
  2093. arguments start and end are interpreted as in slice notation.
  2094.  
  2095. Raises ValueError when the subsection is not found.
  2096. """
  2097. return 0
  2098.  
  2099. def isalnum(self): # real signature unknown; restored from __doc__
  2100. """
  2101. B.isalnum() -> bool
  2102.  
  2103. Return True if all characters in B are alphanumeric
  2104. and there is at least one character in B, False otherwise.
  2105. """
  2106. return False
  2107.  
  2108. def isalpha(self): # real signature unknown; restored from __doc__
  2109. """
  2110. B.isalpha() -> bool
  2111.  
  2112. Return True if all characters in B are alphabetic
  2113. and there is at least one character in B, False otherwise.
  2114. """
  2115. return False
  2116.  
  2117. def isascii(self): # real signature unknown; restored from __doc__
  2118. """
  2119. B.isascii() -> bool
  2120.  
  2121. Return True if B is empty or all characters in B are ASCII,
  2122. False otherwise.
  2123. """
  2124. return False
  2125.  
  2126. def isdigit(self): # real signature unknown; restored from __doc__
  2127. """
  2128. B.isdigit() -> bool
  2129.  
  2130. Return True if all characters in B are digits
  2131. and there is at least one character in B, False otherwise.
  2132. """
  2133. return False
  2134.  
  2135. def islower(self): # real signature unknown; restored from __doc__
  2136. """
  2137. B.islower() -> bool
  2138.  
  2139. Return True if all cased characters in B are lowercase and there is
  2140. at least one cased character in B, False otherwise.
  2141. """
  2142. return False
  2143.  
  2144. def isspace(self): # real signature unknown; restored from __doc__
  2145. """
  2146. B.isspace() -> bool
  2147.  
  2148. Return True if all characters in B are whitespace
  2149. and there is at least one character in B, False otherwise.
  2150. """
  2151. return False
  2152.  
  2153. def istitle(self): # real signature unknown; restored from __doc__
  2154. """
  2155. B.istitle() -> bool
  2156.  
  2157. Return True if B is a titlecased string and there is at least one
  2158. character in B, i.e. uppercase characters may only follow uncased
  2159. characters and lowercase characters only cased ones. Return False
  2160. otherwise.
  2161. """
  2162. return False
  2163.  
  2164. def isupper(self): # real signature unknown; restored from __doc__
  2165. """
  2166. B.isupper() -> bool
  2167.  
  2168. Return True if all cased characters in B are uppercase and there is
  2169. at least one cased character in B, False otherwise.
  2170. """
  2171. return False
  2172.  
  2173. def join(self, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  2174. """
  2175. Concatenate any number of bytes objects.
  2176.  
  2177. The bytes whose method is called is inserted in between each pair.
  2178.  
  2179. The result is returned as a new bytes object.
  2180.  
  2181. Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.
  2182. """
  2183. pass
  2184.  
  2185. def ljust(self, width, fillchar=None): # real signature unknown; restored from __doc__
  2186. """
  2187. B.ljust(width[, fillchar]) -> copy of B
  2188.  
  2189. Return B left justified in a string of length width. Padding is
  2190. done using the specified fill character (default is a space).
  2191. """
  2192. pass
  2193.  
  2194. def lower(self): # real signature unknown; restored from __doc__
  2195. """
  2196. B.lower() -> copy of B
  2197.  
  2198. Return a copy of B with all ASCII characters converted to lowercase.
  2199. """
  2200. pass
  2201.  
  2202. def lstrip(self, *args, **kwargs): # real signature unknown
  2203. """
  2204. Strip leading bytes contained in the argument.
  2205.  
  2206. If the argument is omitted or None, strip leading ASCII whitespace.
  2207. """
  2208. pass
  2209.  
  2210. @staticmethod # known case
  2211. def maketrans(*args, **kwargs): # real signature unknown
  2212. """
  2213. Return a translation table useable for the bytes or bytearray translate method.
  2214.  
  2215. The returned table will be one where each byte in frm is mapped to the byte at
  2216. the same position in to.
  2217.  
  2218. The bytes objects frm and to must be of the same length.
  2219. """
  2220. pass
  2221.  
  2222. def partition(self, *args, **kwargs): # real signature unknown
  2223. """
  2224. Partition the bytes into three parts using the given separator.
  2225.  
  2226. This will search for the separator sep in the bytes. If the separator is found,
  2227. returns a 3-tuple containing the part before the separator, the separator
  2228. itself, and the part after it.
  2229.  
  2230. If the separator is not found, returns a 3-tuple containing the original bytes
  2231. object and two empty bytes objects.
  2232. """
  2233. pass
  2234.  
  2235. def replace(self, *args, **kwargs): # real signature unknown
  2236. """
  2237. Return a copy with all occurrences of substring old replaced by new.
  2238.  
  2239. count
  2240. Maximum number of occurrences to replace.
  2241. -1 (the default value) means replace all occurrences.
  2242.  
  2243. If the optional argument count is given, only the first count occurrences are
  2244. replaced.
  2245. """
  2246. pass
  2247.  
  2248. def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  2249. """
  2250. B.rfind(sub[, start[, end]]) -> int
  2251.  
  2252. Return the highest index in B where subsection sub is found,
  2253. such that sub is contained within B[start,end]. Optional
  2254. arguments start and end are interpreted as in slice notation.
  2255.  
  2256. Return -1 on failure.
  2257. """
  2258. return 0
  2259.  
  2260. def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  2261. """
  2262. B.rindex(sub[, start[, end]]) -> int
  2263.  
  2264. Return the highest index in B where subsection sub is found,
  2265. such that sub is contained within B[start,end]. Optional
  2266. arguments start and end are interpreted as in slice notation.
  2267.  
  2268. Raise ValueError when the subsection is not found.
  2269. """
  2270. return 0
  2271.  
  2272. def rjust(self, width, fillchar=None): # real signature unknown; restored from __doc__
  2273. """
  2274. B.rjust(width[, fillchar]) -> copy of B
  2275.  
  2276. Return B right justified in a string of length width. Padding is
  2277. done using the specified fill character (default is a space)
  2278. """
  2279. pass
  2280.  
  2281. def rpartition(self, *args, **kwargs): # real signature unknown
  2282. """
  2283. Partition the bytes into three parts using the given separator.
  2284.  
  2285. This will search for the separator sep in the bytes, starting at the end. If
  2286. the separator is found, returns a 3-tuple containing the part before the
  2287. separator, the separator itself, and the part after it.
  2288.  
  2289. If the separator is not found, returns a 3-tuple containing two empty bytes
  2290. objects and the original bytes object.
  2291. """
  2292. pass
  2293.  
  2294. def rsplit(self, *args, **kwargs): # real signature unknown
  2295. """
  2296. Return a list of the sections in the bytes, using sep as the delimiter.
  2297.  
  2298. sep
  2299. The delimiter according which to split the bytes.
  2300. None (the default value) means split on ASCII whitespace characters
  2301. (space, tab, return, newline, formfeed, vertical tab).
  2302. maxsplit
  2303. Maximum number of splits to do.
  2304. -1 (the default value) means no limit.
  2305.  
  2306. Splitting is done starting at the end of the bytes and working to the front.
  2307. """
  2308. pass
  2309.  
  2310. def rstrip(self, *args, **kwargs): # real signature unknown
  2311. """
  2312. Strip trailing bytes contained in the argument.
  2313.  
  2314. If the argument is omitted or None, strip trailing ASCII whitespace.
  2315. """
  2316. pass
  2317.  
  2318. def split(self, *args, **kwargs): # real signature unknown
  2319. """
  2320. Return a list of the sections in the bytes, using sep as the delimiter.
  2321.  
  2322. sep
  2323. The delimiter according which to split the bytes.
  2324. None (the default value) means split on ASCII whitespace characters
  2325. (space, tab, return, newline, formfeed, vertical tab).
  2326. maxsplit
  2327. Maximum number of splits to do.
  2328. -1 (the default value) means no limit.
  2329. """
  2330. pass
  2331.  
  2332. def splitlines(self, *args, **kwargs): # real signature unknown
  2333. """
  2334. Return a list of the lines in the bytes, breaking at line boundaries.
  2335.  
  2336. Line breaks are not included in the resulting list unless keepends is given and
  2337. true.
  2338. """
  2339. pass
  2340.  
  2341. def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__
  2342. """
  2343. B.startswith(prefix[, start[, end]]) -> bool
  2344.  
  2345. Return True if B starts with the specified prefix, False otherwise.
  2346. With optional start, test B beginning at that position.
  2347. With optional end, stop comparing B at that position.
  2348. prefix can also be a tuple of bytes to try.
  2349. """
  2350. return False
  2351.  
  2352. def strip(self, *args, **kwargs): # real signature unknown
  2353. """
  2354. Strip leading and trailing bytes contained in the argument.
  2355.  
  2356. If the argument is omitted or None, strip leading and trailing ASCII whitespace.
  2357. """
  2358. pass
  2359.  
  2360. def swapcase(self): # real signature unknown; restored from __doc__
  2361. """
  2362. B.swapcase() -> copy of B
  2363.  
  2364. Return a copy of B with uppercase ASCII characters converted
  2365. to lowercase ASCII and vice versa.
  2366. """
  2367. pass
  2368.  
  2369. def title(self): # real signature unknown; restored from __doc__
  2370. """
  2371. B.title() -> copy of B
  2372.  
  2373. Return a titlecased version of B, i.e. ASCII words start with uppercase
  2374. characters, all remaining cased characters have lowercase.
  2375. """
  2376. pass
  2377.  
  2378. def translate(self, *args, **kwargs): # real signature unknown
  2379. """
  2380. Return a copy with each character mapped by the given translation table.
  2381.  
  2382. table
  2383. Translation table, which must be a bytes object of length 256.
  2384.  
  2385. All characters occurring in the optional argument delete are removed.
  2386. The remaining characters are mapped through the given translation table.
  2387. """
  2388. pass
  2389.  
  2390. def upper(self): # real signature unknown; restored from __doc__
  2391. """
  2392. B.upper() -> copy of B
  2393.  
  2394. Return a copy of B with all ASCII characters converted to uppercase.
  2395. """
  2396. pass
  2397.  
  2398. def zfill(self, width): # real signature unknown; restored from __doc__
  2399. """
  2400. B.zfill(width) -> copy of B
  2401.  
  2402. Pad a numeric string B with zeros on the left, to fill a field
  2403. of the specified width. B is never truncated.
  2404. """
  2405. pass
  2406.  
  2407. def __add__(self, *args, **kwargs): # real signature unknown
  2408. """ Return self+value. """
  2409. pass
  2410.  
  2411. def __contains__(self, *args, **kwargs): # real signature unknown
  2412. """ Return key in self. """
  2413. pass
  2414.  
  2415. def __eq__(self, *args, **kwargs): # real signature unknown
  2416. """ Return self==value. """
  2417. pass
  2418.  
  2419. def __getattribute__(self, *args, **kwargs): # real signature unknown
  2420. """ Return getattr(self, name). """
  2421. pass
  2422.  
  2423. def __getitem__(self, *args, **kwargs): # real signature unknown
  2424. """ Return self[key]. """
  2425. pass
  2426.  
  2427. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  2428. pass
  2429.  
  2430. def __ge__(self, *args, **kwargs): # real signature unknown
  2431. """ Return self>=value. """
  2432. pass
  2433.  
  2434. def __gt__(self, *args, **kwargs): # real signature unknown
  2435. """ Return self>value. """
  2436. pass
  2437.  
  2438. def __hash__(self, *args, **kwargs): # real signature unknown
  2439. """ Return hash(self). """
  2440. pass
  2441.  
  2442. def __init__(self, value=b'', encoding=None, errors='strict'): # known special case of bytes.__init__
  2443. """
  2444. bytes(iterable_of_ints) -> bytes
  2445. bytes(string, encoding[, errors]) -> bytes
  2446. bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
  2447. bytes(int) -> bytes object of size given by the parameter initialized with null bytes
  2448. bytes() -> empty bytes object
  2449.  
  2450. Construct an immutable array of bytes from:
  2451. - an iterable yielding integers in range(256)
  2452. - a text string encoded using the specified encoding
  2453. - any object implementing the buffer API.
  2454. - an integer
  2455. # (copied from class doc)
  2456. """
  2457. pass
  2458.  
  2459. def __iter__(self, *args, **kwargs): # real signature unknown
  2460. """ Implement iter(self). """
  2461. pass
  2462.  
  2463. def __len__(self, *args, **kwargs): # real signature unknown
  2464. """ Return len(self). """
  2465. pass
  2466.  
  2467. def __le__(self, *args, **kwargs): # real signature unknown
  2468. """ Return self<=value. """
  2469. pass
  2470.  
  2471. def __lt__(self, *args, **kwargs): # real signature unknown
  2472. """ Return self<value. """
  2473. pass
  2474.  
  2475. def __mod__(self, *args, **kwargs): # real signature unknown
  2476. """ Return self%value. """
  2477. pass
  2478.  
  2479. def __mul__(self, *args, **kwargs): # real signature unknown
  2480. """ Return self*value. """
  2481. pass
  2482.  
  2483. @staticmethod # known case of __new__
  2484. def __new__(*args, **kwargs): # real signature unknown
  2485. """ Create and return a new object. See help(type) for accurate signature. """
  2486. pass
  2487.  
  2488. def __ne__(self, *args, **kwargs): # real signature unknown
  2489. """ Return self!=value. """
  2490. pass
  2491.  
  2492. def __repr__(self, *args, **kwargs): # real signature unknown
  2493. """ Return repr(self). """
  2494. pass
  2495.  
  2496. def __rmod__(self, *args, **kwargs): # real signature unknown
  2497. """ Return value%self. """
  2498. pass
  2499.  
  2500. def __rmul__(self, *args, **kwargs): # real signature unknown
  2501. """ Return value*self. """
  2502. pass
  2503.  
  2504. def __str__(self, *args, **kwargs): # real signature unknown
  2505. """ Return str(self). """
  2506. pass
  2507.  
  2508. class Warning(Exception):
  2509. """ Base class for warning categories. """
  2510. def __init__(self, *args, **kwargs): # real signature unknown
  2511. pass
  2512.  
  2513. @staticmethod # known case of __new__
  2514. def __new__(*args, **kwargs): # real signature unknown
  2515. """ Create and return a new object. See help(type) for accurate signature. """
  2516. pass
  2517.  
  2518. class BytesWarning(Warning):
  2519. """
  2520. Base class for warnings about bytes and buffer related problems, mostly
  2521. related to conversion from str or comparing to str.
  2522. """
  2523. def __init__(self, *args, **kwargs): # real signature unknown
  2524. pass
  2525.  
  2526. @staticmethod # known case of __new__
  2527. def __new__(*args, **kwargs): # real signature unknown
  2528. """ Create and return a new object. See help(type) for accurate signature. """
  2529. pass
  2530.  
  2531. class ChildProcessError(OSError):
  2532. """ Child process error. """
  2533. def __init__(self, *args, **kwargs): # real signature unknown
  2534. pass
  2535.  
  2536. class classmethod(object):
  2537. """
  2538. classmethod(function) -> method
  2539.  
  2540. Convert a function to be a class method.
  2541.  
  2542. A class method receives the class as implicit first argument,
  2543. just like an instance method receives the instance.
  2544. To declare a class method, use this idiom:
  2545.  
  2546. class C:
  2547. @classmethod
  2548. def f(cls, arg1, arg2, ...):
  2549. ...
  2550.  
  2551. It can be called either on the class (e.g. C.f()) or on an instance
  2552. (e.g. C().f()). The instance is ignored except for its class.
  2553. If a class method is called for a derived class, the derived class
  2554. object is passed as the implied first argument.
  2555.  
  2556. Class methods are different than C++ or Java static methods.
  2557. If you want those, see the staticmethod builtin.
  2558. """
  2559. def __get__(self, *args, **kwargs): # real signature unknown
  2560. """ Return an attribute of instance, which is of type owner. """
  2561. pass
  2562.  
  2563. def __init__(self, function): # real signature unknown; restored from __doc__
  2564. pass
  2565.  
  2566. @staticmethod # known case of __new__
  2567. def __new__(*args, **kwargs): # real signature unknown
  2568. """ Create and return a new object. See help(type) for accurate signature. """
  2569. pass
  2570.  
  2571. __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  2572.  
  2573. __isabstractmethod__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  2574.  
  2575. __dict__ = None # (!) real value is "mappingproxy({'__get__': <slot wrapper '__get__' of 'classmethod' objects>, '__init__': <slot wrapper '__init__' of 'classmethod' objects>, '__new__': <built-in method __new__ of type object at 0x00007FFC49402F20>, '__func__': <member '__func__' of 'classmethod' objects>, '__isabstractmethod__': <attribute '__isabstractmethod__' of 'classmethod' objects>, '__dict__': <attribute '__dict__' of 'classmethod' objects>, '__doc__': 'classmethod(function) -> method\\n\\nConvert a function to be a class method.\\n\\nA class method receives the class as implicit first argument,\\njust like an instance method receives the instance.\\nTo declare a class method, use this idiom:\\n\\n class C:\\n @classmethod\\n def f(cls, arg1, arg2, ...):\\n ...\\n\\nIt can be called either on the class (e.g. C.f()) or on an instance\\n(e.g. C().f()). The instance is ignored except for its class.\\nIf a class method is called for a derived class, the derived class\\nobject is passed as the implied first argument.\\n\\nClass methods are different than C++ or Java static methods.\\nIf you want those, see the staticmethod builtin.'})"
  2576.  
  2577. class complex(object):
  2578. """
  2579. Create a complex number from a real part and an optional imaginary part.
  2580.  
  2581. This is equivalent to (real + imag*1j) where imag defaults to 0.
  2582. """
  2583. def conjugate(self): # real signature unknown; restored from __doc__
  2584. """
  2585. complex.conjugate() -> complex
  2586.  
  2587. Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.
  2588. """
  2589. return complex
  2590.  
  2591. def __abs__(self, *args, **kwargs): # real signature unknown
  2592. """ abs(self) """
  2593. pass
  2594.  
  2595. def __add__(self, *args, **kwargs): # real signature unknown
  2596. """ Return self+value. """
  2597. pass
  2598.  
  2599. def __bool__(self, *args, **kwargs): # real signature unknown
  2600. """ self != 0 """
  2601. pass
  2602.  
  2603. def __divmod__(self, *args, **kwargs): # real signature unknown
  2604. """ Return divmod(self, value). """
  2605. pass
  2606.  
  2607. def __eq__(self, *args, **kwargs): # real signature unknown
  2608. """ Return self==value. """
  2609. pass
  2610.  
  2611. def __float__(self, *args, **kwargs): # real signature unknown
  2612. """ float(self) """
  2613. pass
  2614.  
  2615. def __floordiv__(self, *args, **kwargs): # real signature unknown
  2616. """ Return self//value. """
  2617. pass
  2618.  
  2619. def __format__(self): # real signature unknown; restored from __doc__
  2620. """
  2621. complex.__format__() -> str
  2622.  
  2623. Convert to a string according to format_spec.
  2624. """
  2625. return ""
  2626.  
  2627. def __getattribute__(self, *args, **kwargs): # real signature unknown
  2628. """ Return getattr(self, name). """
  2629. pass
  2630.  
  2631. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  2632. pass
  2633.  
  2634. def __ge__(self, *args, **kwargs): # real signature unknown
  2635. """ Return self>=value. """
  2636. pass
  2637.  
  2638. def __gt__(self, *args, **kwargs): # real signature unknown
  2639. """ Return self>value. """
  2640. pass
  2641.  
  2642. def __hash__(self, *args, **kwargs): # real signature unknown
  2643. """ Return hash(self). """
  2644. pass
  2645.  
  2646. def __init__(self, *args, **kwargs): # real signature unknown
  2647. pass
  2648.  
  2649. def __int__(self, *args, **kwargs): # real signature unknown
  2650. """ int(self) """
  2651. pass
  2652.  
  2653. def __le__(self, *args, **kwargs): # real signature unknown
  2654. """ Return self<=value. """
  2655. pass
  2656.  
  2657. def __lt__(self, *args, **kwargs): # real signature unknown
  2658. """ Return self<value. """
  2659. pass
  2660.  
  2661. def __mod__(self, *args, **kwargs): # real signature unknown
  2662. """ Return self%value. """
  2663. pass
  2664.  
  2665. def __mul__(self, *args, **kwargs): # real signature unknown
  2666. """ Return self*value. """
  2667. pass
  2668.  
  2669. def __neg__(self, *args, **kwargs): # real signature unknown
  2670. """ -self """
  2671. pass
  2672.  
  2673. @staticmethod # known case of __new__
  2674. def __new__(*args, **kwargs): # real signature unknown
  2675. """ Create and return a new object. See help(type) for accurate signature. """
  2676. pass
  2677.  
  2678. def __ne__(self, *args, **kwargs): # real signature unknown
  2679. """ Return self!=value. """
  2680. pass
  2681.  
  2682. def __pos__(self, *args, **kwargs): # real signature unknown
  2683. """ +self """
  2684. pass
  2685.  
  2686. def __pow__(self, *args, **kwargs): # real signature unknown
  2687. """ Return pow(self, value, mod). """
  2688. pass
  2689.  
  2690. def __radd__(self, *args, **kwargs): # real signature unknown
  2691. """ Return value+self. """
  2692. pass
  2693.  
  2694. def __rdivmod__(self, *args, **kwargs): # real signature unknown
  2695. """ Return divmod(value, self). """
  2696. pass
  2697.  
  2698. def __repr__(self, *args, **kwargs): # real signature unknown
  2699. """ Return repr(self). """
  2700. pass
  2701.  
  2702. def __rfloordiv__(self, *args, **kwargs): # real signature unknown
  2703. """ Return value//self. """
  2704. pass
  2705.  
  2706. def __rmod__(self, *args, **kwargs): # real signature unknown
  2707. """ Return value%self. """
  2708. pass
  2709.  
  2710. def __rmul__(self, *args, **kwargs): # real signature unknown
  2711. """ Return value*self. """
  2712. pass
  2713.  
  2714. def __rpow__(self, *args, **kwargs): # real signature unknown
  2715. """ Return pow(value, self, mod). """
  2716. pass
  2717.  
  2718. def __rsub__(self, *args, **kwargs): # real signature unknown
  2719. """ Return value-self. """
  2720. pass
  2721.  
  2722. def __rtruediv__(self, *args, **kwargs): # real signature unknown
  2723. """ Return value/self. """
  2724. pass
  2725.  
  2726. def __str__(self, *args, **kwargs): # real signature unknown
  2727. """ Return str(self). """
  2728. pass
  2729.  
  2730. def __sub__(self, *args, **kwargs): # real signature unknown
  2731. """ Return self-value. """
  2732. pass
  2733.  
  2734. def __truediv__(self, *args, **kwargs): # real signature unknown
  2735. """ Return self/value. """
  2736. pass
  2737.  
  2738. imag = property(lambda self: 0.0)
  2739. """the imaginary part of a complex number
  2740.  
  2741. :type: float
  2742. """
  2743.  
  2744. real = property(lambda self: 0.0)
  2745. """the real part of a complex number
  2746.  
  2747. :type: float
  2748. """
  2749.  
  2750. class ConnectionAbortedError(ConnectionError):
  2751. """ Connection aborted. """
  2752. def __init__(self, *args, **kwargs): # real signature unknown
  2753. pass
  2754.  
  2755. class ConnectionRefusedError(ConnectionError):
  2756. """ Connection refused. """
  2757. def __init__(self, *args, **kwargs): # real signature unknown
  2758. pass
  2759.  
  2760. class ConnectionResetError(ConnectionError):
  2761. """ Connection reset. """
  2762. def __init__(self, *args, **kwargs): # real signature unknown
  2763. pass
  2764.  
  2765. class DeprecationWarning(Warning):
  2766. """ Base class for warnings about deprecated features. """
  2767. def __init__(self, *args, **kwargs): # real signature unknown
  2768. pass
  2769.  
  2770. @staticmethod # known case of __new__
  2771. def __new__(*args, **kwargs): # real signature unknown
  2772. """ Create and return a new object. See help(type) for accurate signature. """
  2773. pass
  2774.  
  2775. class dict(object):
  2776. """
  2777. dict() -> new empty dictionary
  2778. dict(mapping) -> new dictionary initialized from a mapping object's
  2779. (key, value) pairs
  2780. dict(iterable) -> new dictionary initialized as if via:
  2781. d = {}
  2782. for k, v in iterable:
  2783. d[k] = v
  2784. dict(**kwargs) -> new dictionary initialized with the name=value pairs
  2785. in the keyword argument list. For example: dict(one=1, two=2)
  2786. """
  2787. def clear(self): # real signature unknown; restored from __doc__
  2788. """ D.clear() -> None. Remove all items from D. """
  2789. pass
  2790.  
  2791. def copy(self): # real signature unknown; restored from __doc__
  2792. """ D.copy() -> a shallow copy of D """
  2793. pass
  2794.  
  2795. @staticmethod # known case
  2796. def fromkeys(*args, **kwargs): # real signature unknown
  2797. """ Create a new dictionary with keys from iterable and values set to value. """
  2798. pass
  2799.  
  2800. def get(self, *args, **kwargs): # real signature unknown
  2801. """ Return the value for key if key is in the dictionary, else default. """
  2802. pass
  2803.  
  2804. def items(self): # real signature unknown; restored from __doc__
  2805. """ D.items() -> a set-like object providing a view on D's items """
  2806. pass
  2807.  
  2808. def keys(self): # real signature unknown; restored from __doc__
  2809. """ D.keys() -> a set-like object providing a view on D's keys """
  2810. pass
  2811.  
  2812. def pop(self, k, d=None): # real signature unknown; restored from __doc__
  2813. """
  2814. D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
  2815. If key is not found, d is returned if given, otherwise KeyError is raised
  2816. """
  2817. pass
  2818.  
  2819. def popitem(self): # real signature unknown; restored from __doc__
  2820. """
  2821. D.popitem() -> (k, v), remove and return some (key, value) pair as a
  2822. 2-tuple; but raise KeyError if D is empty.
  2823. """
  2824. pass
  2825.  
  2826. def setdefault(self, *args, **kwargs): # real signature unknown
  2827. """
  2828. Insert key with a value of default if key is not in the dictionary.
  2829.  
  2830. Return the value for key if key is in the dictionary, else default.
  2831. """
  2832. pass
  2833.  
  2834. def update(self, E=None, **F): # known special case of dict.update
  2835. """
  2836. D.update([E, ]**F) -> None. Update D from dict/iterable E and F.
  2837. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k]
  2838. If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v
  2839. In either case, this is followed by: for k in F: D[k] = F[k]
  2840. """
  2841. pass
  2842.  
  2843. def values(self): # real signature unknown; restored from __doc__
  2844. """ D.values() -> an object providing a view on D's values """
  2845. pass
  2846.  
  2847. def __contains__(self, *args, **kwargs): # real signature unknown
  2848. """ True if the dictionary has the specified key, else False. """
  2849. pass
  2850.  
  2851. def __delitem__(self, *args, **kwargs): # real signature unknown
  2852. """ Delete self[key]. """
  2853. pass
  2854.  
  2855. def __eq__(self, *args, **kwargs): # real signature unknown
  2856. """ Return self==value. """
  2857. pass
  2858.  
  2859. def __getattribute__(self, *args, **kwargs): # real signature unknown
  2860. """ Return getattr(self, name). """
  2861. pass
  2862.  
  2863. def __getitem__(self, y): # real signature unknown; restored from __doc__
  2864. """ x.__getitem__(y) <==> x[y] """
  2865. pass
  2866.  
  2867. def __ge__(self, *args, **kwargs): # real signature unknown
  2868. """ Return self>=value. """
  2869. pass
  2870.  
  2871. def __gt__(self, *args, **kwargs): # real signature unknown
  2872. """ Return self>value. """
  2873. pass
  2874.  
  2875. def __init__(self, seq=None, **kwargs): # known special case of dict.__init__
  2876. """
  2877. dict() -> new empty dictionary
  2878. dict(mapping) -> new dictionary initialized from a mapping object's
  2879. (key, value) pairs
  2880. dict(iterable) -> new dictionary initialized as if via:
  2881. d = {}
  2882. for k, v in iterable:
  2883. d[k] = v
  2884. dict(**kwargs) -> new dictionary initialized with the name=value pairs
  2885. in the keyword argument list. For example: dict(one=1, two=2)
  2886. # (copied from class doc)
  2887. """
  2888. pass
  2889.  
  2890. def __iter__(self, *args, **kwargs): # real signature unknown
  2891. """ Implement iter(self). """
  2892. pass
  2893.  
  2894. def __len__(self, *args, **kwargs): # real signature unknown
  2895. """ Return len(self). """
  2896. pass
  2897.  
  2898. def __le__(self, *args, **kwargs): # real signature unknown
  2899. """ Return self<=value. """
  2900. pass
  2901.  
  2902. def __lt__(self, *args, **kwargs): # real signature unknown
  2903. """ Return self<value. """
  2904. pass
  2905.  
  2906. @staticmethod # known case of __new__
  2907. def __new__(*args, **kwargs): # real signature unknown
  2908. """ Create and return a new object. See help(type) for accurate signature. """
  2909. pass
  2910.  
  2911. def __ne__(self, *args, **kwargs): # real signature unknown
  2912. """ Return self!=value. """
  2913. pass
  2914.  
  2915. def __repr__(self, *args, **kwargs): # real signature unknown
  2916. """ Return repr(self). """
  2917. pass
  2918.  
  2919. def __setitem__(self, *args, **kwargs): # real signature unknown
  2920. """ Set self[key] to value. """
  2921. pass
  2922.  
  2923. def __sizeof__(self): # real signature unknown; restored from __doc__
  2924. """ D.__sizeof__() -> size of D in memory, in bytes """
  2925. pass
  2926.  
  2927. __hash__ = None
  2928.  
  2929. class enumerate(object):
  2930. """
  2931. Return an enumerate object.
  2932.  
  2933. iterable
  2934. an object supporting iteration
  2935.  
  2936. The enumerate object yields pairs containing a count (from start, which
  2937. defaults to zero) and a value yielded by the iterable argument.
  2938.  
  2939. enumerate is useful for obtaining an indexed list:
  2940. (0, seq[0]), (1, seq[1]), (2, seq[2]), ...
  2941. """
  2942. def __getattribute__(self, *args, **kwargs): # real signature unknown
  2943. """ Return getattr(self, name). """
  2944. pass
  2945.  
  2946. def __init__(self, iterable, start=0): # known special case of enumerate.__init__
  2947. """ Initialize self. See help(type(self)) for accurate signature. """
  2948. pass
  2949.  
  2950. def __iter__(self, *args, **kwargs): # real signature unknown
  2951. """ Implement iter(self). """
  2952. pass
  2953.  
  2954. @staticmethod # known case of __new__
  2955. def __new__(*args, **kwargs): # real signature unknown
  2956. """ Create and return a new object. See help(type) for accurate signature. """
  2957. pass
  2958.  
  2959. def __next__(self, *args, **kwargs): # real signature unknown
  2960. """ Implement next(self). """
  2961. pass
  2962.  
  2963. def __reduce__(self, *args, **kwargs): # real signature unknown
  2964. """ Return state information for pickling. """
  2965. pass
  2966.  
  2967. class EOFError(Exception):
  2968. """ Read beyond end of file. """
  2969. def __init__(self, *args, **kwargs): # real signature unknown
  2970. pass
  2971.  
  2972. @staticmethod # known case of __new__
  2973. def __new__(*args, **kwargs): # real signature unknown
  2974. """ Create and return a new object. See help(type) for accurate signature. """
  2975. pass
  2976.  
  2977. class FileExistsError(OSError):
  2978. """ File already exists. """
  2979. def __init__(self, *args, **kwargs): # real signature unknown
  2980. pass
  2981.  
  2982. class FileNotFoundError(OSError):
  2983. """ File not found. """
  2984. def __init__(self, *args, **kwargs): # real signature unknown
  2985. pass
  2986.  
  2987. class filter(object):
  2988. """
  2989. filter(function or None, iterable) --> filter object
  2990.  
  2991. Return an iterator yielding those items of iterable for which function(item)
  2992. is true. If function is None, return the items that are true.
  2993. """
  2994. def __getattribute__(self, *args, **kwargs): # real signature unknown
  2995. """ Return getattr(self, name). """
  2996. pass
  2997.  
  2998. def __init__(self, function_or_None, iterable): # real signature unknown; restored from __doc__
  2999. pass
  3000.  
  3001. def __iter__(self, *args, **kwargs): # real signature unknown
  3002. """ Implement iter(self). """
  3003. pass
  3004.  
  3005. @staticmethod # known case of __new__
  3006. def __new__(*args, **kwargs): # real signature unknown
  3007. """ Create and return a new object. See help(type) for accurate signature. """
  3008. pass
  3009.  
  3010. def __next__(self, *args, **kwargs): # real signature unknown
  3011. """ Implement next(self). """
  3012. pass
  3013.  
  3014. def __reduce__(self, *args, **kwargs): # real signature unknown
  3015. """ Return state information for pickling. """
  3016. pass
  3017.  
  3018. class float(object):
  3019. """ Convert a string or number to a floating point number, if possible. """
  3020. def as_integer_ratio(self): # real signature unknown; restored from __doc__
  3021. """
  3022. Return integer ratio.
  3023.  
  3024. Return a pair of integers, whose ratio is exactly equal to the original float
  3025. and with a positive denominator.
  3026.  
  3027. Raise OverflowError on infinities and a ValueError on NaNs.
  3028.  
  3029. >>> (10.0).as_integer_ratio()
  3030. (10, 1)
  3031. >>> (0.0).as_integer_ratio()
  3032. (0, 1)
  3033. >>> (-.25).as_integer_ratio()
  3034. (-1, 4)
  3035. """
  3036. pass
  3037.  
  3038. def conjugate(self, *args, **kwargs): # real signature unknown
  3039. """ Return self, the complex conjugate of any float. """
  3040. pass
  3041.  
  3042. @staticmethod # known case
  3043. def fromhex(*args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__
  3044. """
  3045. Create a floating-point number from a hexadecimal string.
  3046.  
  3047. >>> float.fromhex('0x1.ffffp10')
  3048. 2047.984375
  3049. >>> float.fromhex('-0x1p-1074')
  3050. -5e-324
  3051. """
  3052. pass
  3053.  
  3054. def hex(self): # real signature unknown; restored from __doc__
  3055. """
  3056. Return a hexadecimal representation of a floating-point number.
  3057.  
  3058. >>> (-0.1).hex()
  3059. '-0x1.999999999999ap-4'
  3060. >>> 3.14159.hex()
  3061. '0x1.921f9f01b866ep+1'
  3062. """
  3063. pass
  3064.  
  3065. def is_integer(self, *args, **kwargs): # real signature unknown
  3066. """ Return True if the float is an integer. """
  3067. pass
  3068.  
  3069. def __abs__(self, *args, **kwargs): # real signature unknown
  3070. """ abs(self) """
  3071. pass
  3072.  
  3073. def __add__(self, *args, **kwargs): # real signature unknown
  3074. """ Return self+value. """
  3075. pass
  3076.  
  3077. def __bool__(self, *args, **kwargs): # real signature unknown
  3078. """ self != 0 """
  3079. pass
  3080.  
  3081. def __divmod__(self, *args, **kwargs): # real signature unknown
  3082. """ Return divmod(self, value). """
  3083. pass
  3084.  
  3085. def __eq__(self, *args, **kwargs): # real signature unknown
  3086. """ Return self==value. """
  3087. pass
  3088.  
  3089. def __float__(self, *args, **kwargs): # real signature unknown
  3090. """ float(self) """
  3091. pass
  3092.  
  3093. def __floordiv__(self, *args, **kwargs): # real signature unknown
  3094. """ Return self//value. """
  3095. pass
  3096.  
  3097. def __format__(self, *args, **kwargs): # real signature unknown
  3098. """ Formats the float according to format_spec. """
  3099. pass
  3100.  
  3101. def __getattribute__(self, *args, **kwargs): # real signature unknown
  3102. """ Return getattr(self, name). """
  3103. pass
  3104.  
  3105. def __getformat__(self, *args, **kwargs): # real signature unknown
  3106. """
  3107. You probably don't want to use this function.
  3108.  
  3109. typestr
  3110. Must be 'double' or 'float'.
  3111.  
  3112. It exists mainly to be used in Python's test suite.
  3113.  
  3114. This function returns whichever of 'unknown', 'IEEE, big-endian' or 'IEEE,
  3115. little-endian' best describes the format of floating point numbers used by the
  3116. C type named by typestr.
  3117. """
  3118. pass
  3119.  
  3120. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  3121. pass
  3122.  
  3123. def __ge__(self, *args, **kwargs): # real signature unknown
  3124. """ Return self>=value. """
  3125. pass
  3126.  
  3127. def __gt__(self, *args, **kwargs): # real signature unknown
  3128. """ Return self>value. """
  3129. pass
  3130.  
  3131. def __hash__(self, *args, **kwargs): # real signature unknown
  3132. """ Return hash(self). """
  3133. pass
  3134.  
  3135. def __init__(self, *args, **kwargs): # real signature unknown
  3136. pass
  3137.  
  3138. def __int__(self, *args, **kwargs): # real signature unknown
  3139. """ int(self) """
  3140. pass
  3141.  
  3142. def __le__(self, *args, **kwargs): # real signature unknown
  3143. """ Return self<=value. """
  3144. pass
  3145.  
  3146. def __lt__(self, *args, **kwargs): # real signature unknown
  3147. """ Return self<value. """
  3148. pass
  3149.  
  3150. def __mod__(self, *args, **kwargs): # real signature unknown
  3151. """ Return self%value. """
  3152. pass
  3153.  
  3154. def __mul__(self, *args, **kwargs): # real signature unknown
  3155. """ Return self*value. """
  3156. pass
  3157.  
  3158. def __neg__(self, *args, **kwargs): # real signature unknown
  3159. """ -self """
  3160. pass
  3161.  
  3162. @staticmethod # known case of __new__
  3163. def __new__(*args, **kwargs): # real signature unknown
  3164. """ Create and return a new object. See help(type) for accurate signature. """
  3165. pass
  3166.  
  3167. def __ne__(self, *args, **kwargs): # real signature unknown
  3168. """ Return self!=value. """
  3169. pass
  3170.  
  3171. def __pos__(self, *args, **kwargs): # real signature unknown
  3172. """ +self """
  3173. pass
  3174.  
  3175. def __pow__(self, *args, **kwargs): # real signature unknown
  3176. """ Return pow(self, value, mod). """
  3177. pass
  3178.  
  3179. def __radd__(self, *args, **kwargs): # real signature unknown
  3180. """ Return value+self. """
  3181. pass
  3182.  
  3183. def __rdivmod__(self, *args, **kwargs): # real signature unknown
  3184. """ Return divmod(value, self). """
  3185. pass
  3186.  
  3187. def __repr__(self, *args, **kwargs): # real signature unknown
  3188. """ Return repr(self). """
  3189. pass
  3190.  
  3191. def __rfloordiv__(self, *args, **kwargs): # real signature unknown
  3192. """ Return value//self. """
  3193. pass
  3194.  
  3195. def __rmod__(self, *args, **kwargs): # real signature unknown
  3196. """ Return value%self. """
  3197. pass
  3198.  
  3199. def __rmul__(self, *args, **kwargs): # real signature unknown
  3200. """ Return value*self. """
  3201. pass
  3202.  
  3203. def __round__(self, *args, **kwargs): # real signature unknown
  3204. """
  3205. Return the Integral closest to x, rounding half toward even.
  3206.  
  3207. When an argument is passed, work like built-in round(x, ndigits).
  3208. """
  3209. pass
  3210.  
  3211. def __rpow__(self, *args, **kwargs): # real signature unknown
  3212. """ Return pow(value, self, mod). """
  3213. pass
  3214.  
  3215. def __rsub__(self, *args, **kwargs): # real signature unknown
  3216. """ Return value-self. """
  3217. pass
  3218.  
  3219. def __rtruediv__(self, *args, **kwargs): # real signature unknown
  3220. """ Return value/self. """
  3221. pass
  3222.  
  3223. def __set_format__(self, *args, **kwargs): # real signature unknown
  3224. """
  3225. You probably don't want to use this function.
  3226.  
  3227. typestr
  3228. Must be 'double' or 'float'.
  3229. fmt
  3230. Must be one of 'unknown', 'IEEE, big-endian' or 'IEEE, little-endian',
  3231. and in addition can only be one of the latter two if it appears to
  3232. match the underlying C reality.
  3233.  
  3234. It exists mainly to be used in Python's test suite.
  3235.  
  3236. Override the automatic determination of C-level floating point type.
  3237. This affects how floats are converted to and from binary strings.
  3238. """
  3239. pass
  3240.  
  3241. def __str__(self, *args, **kwargs): # real signature unknown
  3242. """ Return str(self). """
  3243. pass
  3244.  
  3245. def __sub__(self, *args, **kwargs): # real signature unknown
  3246. """ Return self-value. """
  3247. pass
  3248.  
  3249. def __truediv__(self, *args, **kwargs): # real signature unknown
  3250. """ Return self/value. """
  3251. pass
  3252.  
  3253. def __trunc__(self, *args, **kwargs): # real signature unknown
  3254. """ Return the Integral closest to x between 0 and x. """
  3255. pass
  3256.  
  3257. imag = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3258. """the imaginary part of a complex number"""
  3259.  
  3260. real = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3261. """the real part of a complex number"""
  3262.  
  3263. class FloatingPointError(ArithmeticError):
  3264. """ Floating point operation failed. """
  3265. def __init__(self, *args, **kwargs): # real signature unknown
  3266. pass
  3267.  
  3268. @staticmethod # known case of __new__
  3269. def __new__(*args, **kwargs): # real signature unknown
  3270. """ Create and return a new object. See help(type) for accurate signature. """
  3271. pass
  3272.  
  3273. class frozenset(object):
  3274. """
  3275. frozenset() -> empty frozenset object
  3276. frozenset(iterable) -> frozenset object
  3277.  
  3278. Build an immutable unordered collection of unique elements.
  3279. """
  3280. def copy(self, *args, **kwargs): # real signature unknown
  3281. """ Return a shallow copy of a set. """
  3282. pass
  3283.  
  3284. def difference(self, *args, **kwargs): # real signature unknown
  3285. """
  3286. Return the difference of two or more sets as a new set.
  3287.  
  3288. (i.e. all elements that are in this set but not the others.)
  3289. """
  3290. pass
  3291.  
  3292. def intersection(self, *args, **kwargs): # real signature unknown
  3293. """
  3294. Return the intersection of two sets as a new set.
  3295.  
  3296. (i.e. all elements that are in both sets.)
  3297. """
  3298. pass
  3299.  
  3300. def isdisjoint(self, *args, **kwargs): # real signature unknown
  3301. """ Return True if two sets have a null intersection. """
  3302. pass
  3303.  
  3304. def issubset(self, *args, **kwargs): # real signature unknown
  3305. """ Report whether another set contains this set. """
  3306. pass
  3307.  
  3308. def issuperset(self, *args, **kwargs): # real signature unknown
  3309. """ Report whether this set contains another set. """
  3310. pass
  3311.  
  3312. def symmetric_difference(self, *args, **kwargs): # real signature unknown
  3313. """
  3314. Return the symmetric difference of two sets as a new set.
  3315.  
  3316. (i.e. all elements that are in exactly one of the sets.)
  3317. """
  3318. pass
  3319.  
  3320. def union(self, *args, **kwargs): # real signature unknown
  3321. """
  3322. Return the union of sets as a new set.
  3323.  
  3324. (i.e. all elements that are in either set.)
  3325. """
  3326. pass
  3327.  
  3328. def __and__(self, *args, **kwargs): # real signature unknown
  3329. """ Return self&value. """
  3330. pass
  3331.  
  3332. def __contains__(self, y): # real signature unknown; restored from __doc__
  3333. """ x.__contains__(y) <==> y in x. """
  3334. pass
  3335.  
  3336. def __eq__(self, *args, **kwargs): # real signature unknown
  3337. """ Return self==value. """
  3338. pass
  3339.  
  3340. def __getattribute__(self, *args, **kwargs): # real signature unknown
  3341. """ Return getattr(self, name). """
  3342. pass
  3343.  
  3344. def __ge__(self, *args, **kwargs): # real signature unknown
  3345. """ Return self>=value. """
  3346. pass
  3347.  
  3348. def __gt__(self, *args, **kwargs): # real signature unknown
  3349. """ Return self>value. """
  3350. pass
  3351.  
  3352. def __hash__(self, *args, **kwargs): # real signature unknown
  3353. """ Return hash(self). """
  3354. pass
  3355.  
  3356. def __init__(self, seq=()): # known special case of frozenset.__init__
  3357. """ Initialize self. See help(type(self)) for accurate signature. """
  3358. pass
  3359.  
  3360. def __iter__(self, *args, **kwargs): # real signature unknown
  3361. """ Implement iter(self). """
  3362. pass
  3363.  
  3364. def __len__(self, *args, **kwargs): # real signature unknown
  3365. """ Return len(self). """
  3366. pass
  3367.  
  3368. def __le__(self, *args, **kwargs): # real signature unknown
  3369. """ Return self<=value. """
  3370. pass
  3371.  
  3372. def __lt__(self, *args, **kwargs): # real signature unknown
  3373. """ Return self<value. """
  3374. pass
  3375.  
  3376. @staticmethod # known case of __new__
  3377. def __new__(*args, **kwargs): # real signature unknown
  3378. """ Create and return a new object. See help(type) for accurate signature. """
  3379. pass
  3380.  
  3381. def __ne__(self, *args, **kwargs): # real signature unknown
  3382. """ Return self!=value. """
  3383. pass
  3384.  
  3385. def __or__(self, *args, **kwargs): # real signature unknown
  3386. """ Return self|value. """
  3387. pass
  3388.  
  3389. def __rand__(self, *args, **kwargs): # real signature unknown
  3390. """ Return value&self. """
  3391. pass
  3392.  
  3393. def __reduce__(self, *args, **kwargs): # real signature unknown
  3394. """ Return state information for pickling. """
  3395. pass
  3396.  
  3397. def __repr__(self, *args, **kwargs): # real signature unknown
  3398. """ Return repr(self). """
  3399. pass
  3400.  
  3401. def __ror__(self, *args, **kwargs): # real signature unknown
  3402. """ Return value|self. """
  3403. pass
  3404.  
  3405. def __rsub__(self, *args, **kwargs): # real signature unknown
  3406. """ Return value-self. """
  3407. pass
  3408.  
  3409. def __rxor__(self, *args, **kwargs): # real signature unknown
  3410. """ Return value^self. """
  3411. pass
  3412.  
  3413. def __sizeof__(self): # real signature unknown; restored from __doc__
  3414. """ S.__sizeof__() -> size of S in memory, in bytes """
  3415. pass
  3416.  
  3417. def __sub__(self, *args, **kwargs): # real signature unknown
  3418. """ Return self-value. """
  3419. pass
  3420.  
  3421. def __xor__(self, *args, **kwargs): # real signature unknown
  3422. """ Return self^value. """
  3423. pass
  3424.  
  3425. class FutureWarning(Warning):
  3426. """
  3427. Base class for warnings about constructs that will change semantically
  3428. in the future.
  3429. """
  3430. def __init__(self, *args, **kwargs): # real signature unknown
  3431. pass
  3432.  
  3433. @staticmethod # known case of __new__
  3434. def __new__(*args, **kwargs): # real signature unknown
  3435. """ Create and return a new object. See help(type) for accurate signature. """
  3436. pass
  3437.  
  3438. class GeneratorExit(BaseException):
  3439. """ Request that a generator exit. """
  3440. def __init__(self, *args, **kwargs): # real signature unknown
  3441. pass
  3442.  
  3443. @staticmethod # known case of __new__
  3444. def __new__(*args, **kwargs): # real signature unknown
  3445. """ Create and return a new object. See help(type) for accurate signature. """
  3446. pass
  3447.  
  3448. class ImportError(Exception):
  3449. """ Import can't find module, or can't find name in module. """
  3450. def __init__(self, *args, **kwargs): # real signature unknown
  3451. pass
  3452.  
  3453. def __reduce__(self, *args, **kwargs): # real signature unknown
  3454. pass
  3455.  
  3456. def __str__(self, *args, **kwargs): # real signature unknown
  3457. """ Return str(self). """
  3458. pass
  3459.  
  3460. msg = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3461. """exception message"""
  3462.  
  3463. name = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3464. """module name"""
  3465.  
  3466. path = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3467. """module path"""
  3468.  
  3469. class ImportWarning(Warning):
  3470. """ Base class for warnings about probable mistakes in module imports """
  3471. def __init__(self, *args, **kwargs): # real signature unknown
  3472. pass
  3473.  
  3474. @staticmethod # known case of __new__
  3475. def __new__(*args, **kwargs): # real signature unknown
  3476. """ Create and return a new object. See help(type) for accurate signature. """
  3477. pass
  3478.  
  3479. class SyntaxError(Exception):
  3480. """ Invalid syntax. """
  3481. def __init__(self, *args, **kwargs): # real signature unknown
  3482. pass
  3483.  
  3484. def __str__(self, *args, **kwargs): # real signature unknown
  3485. """ Return str(self). """
  3486. pass
  3487.  
  3488. filename = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3489. """exception filename"""
  3490.  
  3491. lineno = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3492. """exception lineno"""
  3493.  
  3494. msg = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3495. """exception msg"""
  3496.  
  3497. offset = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3498. """exception offset"""
  3499.  
  3500. print_file_and_line = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3501. """exception print_file_and_line"""
  3502.  
  3503. text = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3504. """exception text"""
  3505.  
  3506. class IndentationError(SyntaxError):
  3507. """ Improper indentation. """
  3508. def __init__(self, *args, **kwargs): # real signature unknown
  3509. pass
  3510.  
  3511. class LookupError(Exception):
  3512. """ Base class for lookup errors. """
  3513. def __init__(self, *args, **kwargs): # real signature unknown
  3514. pass
  3515.  
  3516. @staticmethod # known case of __new__
  3517. def __new__(*args, **kwargs): # real signature unknown
  3518. """ Create and return a new object. See help(type) for accurate signature. """
  3519. pass
  3520.  
  3521. class IndexError(LookupError):
  3522. """ Sequence index out of range. """
  3523. def __init__(self, *args, **kwargs): # real signature unknown
  3524. pass
  3525.  
  3526. @staticmethod # known case of __new__
  3527. def __new__(*args, **kwargs): # real signature unknown
  3528. """ Create and return a new object. See help(type) for accurate signature. """
  3529. pass
  3530.  
  3531. class InterruptedError(OSError):
  3532. """ Interrupted by signal. """
  3533. def __init__(self, *args, **kwargs): # real signature unknown
  3534. pass
  3535.  
  3536. class IsADirectoryError(OSError):
  3537. """ Operation doesn't work on directories. """
  3538. def __init__(self, *args, **kwargs): # real signature unknown
  3539. pass
  3540.  
  3541. class KeyboardInterrupt(BaseException):
  3542. """ Program interrupted by user. """
  3543. def __init__(self, *args, **kwargs): # real signature unknown
  3544. pass
  3545.  
  3546. @staticmethod # known case of __new__
  3547. def __new__(*args, **kwargs): # real signature unknown
  3548. """ Create and return a new object. See help(type) for accurate signature. """
  3549. pass
  3550.  
  3551. class KeyError(LookupError):
  3552. """ Mapping key not found. """
  3553. def __init__(self, *args, **kwargs): # real signature unknown
  3554. pass
  3555.  
  3556. def __str__(self, *args, **kwargs): # real signature unknown
  3557. """ Return str(self). """
  3558. pass
  3559.  
  3560. class list(object):
  3561. """
  3562. Built-in mutable sequence.
  3563.  
  3564. If no argument is given, the constructor creates a new empty list.
  3565. The argument must be an iterable if specified.
  3566. """
  3567. def append(self, *args, **kwargs): # real signature unknown
  3568. """ Append object to the end of the list. """
  3569. pass
  3570.  
  3571. def clear(self, *args, **kwargs): # real signature unknown
  3572. """ Remove all items from list. """
  3573. pass
  3574.  
  3575. def copy(self, *args, **kwargs): # real signature unknown
  3576. """ Return a shallow copy of the list. """
  3577. pass
  3578.  
  3579. def count(self, *args, **kwargs): # real signature unknown
  3580. """ Return number of occurrences of value. """
  3581. pass
  3582.  
  3583. def extend(self, *args, **kwargs): # real signature unknown
  3584. """ Extend list by appending elements from the iterable. """
  3585. pass
  3586.  
  3587. def index(self, *args, **kwargs): # real signature unknown
  3588. """
  3589. Return first index of value.
  3590.  
  3591. Raises ValueError if the value is not present.
  3592. """
  3593. pass
  3594.  
  3595. def insert(self, *args, **kwargs): # real signature unknown
  3596. """ Insert object before index. """
  3597. pass
  3598.  
  3599. def pop(self, *args, **kwargs): # real signature unknown
  3600. """
  3601. Remove and return item at index (default last).
  3602.  
  3603. Raises IndexError if list is empty or index is out of range.
  3604. """
  3605. pass
  3606.  
  3607. def remove(self, *args, **kwargs): # real signature unknown
  3608. """
  3609. Remove first occurrence of value.
  3610.  
  3611. Raises ValueError if the value is not present.
  3612. """
  3613. pass
  3614.  
  3615. def reverse(self, *args, **kwargs): # real signature unknown
  3616. """ Reverse *IN PLACE*. """
  3617. pass
  3618.  
  3619. def sort(self, *args, **kwargs): # real signature unknown
  3620. """ Stable sort *IN PLACE*. """
  3621. pass
  3622.  
  3623. def __add__(self, *args, **kwargs): # real signature unknown
  3624. """ Return self+value. """
  3625. pass
  3626.  
  3627. def __contains__(self, *args, **kwargs): # real signature unknown
  3628. """ Return key in self. """
  3629. pass
  3630.  
  3631. def __delitem__(self, *args, **kwargs): # real signature unknown
  3632. """ Delete self[key]. """
  3633. pass
  3634.  
  3635. def __eq__(self, *args, **kwargs): # real signature unknown
  3636. """ Return self==value. """
  3637. pass
  3638.  
  3639. def __getattribute__(self, *args, **kwargs): # real signature unknown
  3640. """ Return getattr(self, name). """
  3641. pass
  3642.  
  3643. def __getitem__(self, y): # real signature unknown; restored from __doc__
  3644. """ x.__getitem__(y) <==> x[y] """
  3645. pass
  3646.  
  3647. def __ge__(self, *args, **kwargs): # real signature unknown
  3648. """ Return self>=value. """
  3649. pass
  3650.  
  3651. def __gt__(self, *args, **kwargs): # real signature unknown
  3652. """ Return self>value. """
  3653. pass
  3654.  
  3655. def __iadd__(self, *args, **kwargs): # real signature unknown
  3656. """ Implement self+=value. """
  3657. pass
  3658.  
  3659. def __imul__(self, *args, **kwargs): # real signature unknown
  3660. """ Implement self*=value. """
  3661. pass
  3662.  
  3663. def __init__(self, seq=()): # known special case of list.__init__
  3664. """
  3665. Built-in mutable sequence.
  3666.  
  3667. If no argument is given, the constructor creates a new empty list.
  3668. The argument must be an iterable if specified.
  3669. # (copied from class doc)
  3670. """
  3671. pass
  3672.  
  3673. def __iter__(self, *args, **kwargs): # real signature unknown
  3674. """ Implement iter(self). """
  3675. pass
  3676.  
  3677. def __len__(self, *args, **kwargs): # real signature unknown
  3678. """ Return len(self). """
  3679. pass
  3680.  
  3681. def __le__(self, *args, **kwargs): # real signature unknown
  3682. """ Return self<=value. """
  3683. pass
  3684.  
  3685. def __lt__(self, *args, **kwargs): # real signature unknown
  3686. """ Return self<value. """
  3687. pass
  3688.  
  3689. def __mul__(self, *args, **kwargs): # real signature unknown
  3690. """ Return self*value. """
  3691. pass
  3692.  
  3693. @staticmethod # known case of __new__
  3694. def __new__(*args, **kwargs): # real signature unknown
  3695. """ Create and return a new object. See help(type) for accurate signature. """
  3696. pass
  3697.  
  3698. def __ne__(self, *args, **kwargs): # real signature unknown
  3699. """ Return self!=value. """
  3700. pass
  3701.  
  3702. def __repr__(self, *args, **kwargs): # real signature unknown
  3703. """ Return repr(self). """
  3704. pass
  3705.  
  3706. def __reversed__(self, *args, **kwargs): # real signature unknown
  3707. """ Return a reverse iterator over the list. """
  3708. pass
  3709.  
  3710. def __rmul__(self, *args, **kwargs): # real signature unknown
  3711. """ Return value*self. """
  3712. pass
  3713.  
  3714. def __setitem__(self, *args, **kwargs): # real signature unknown
  3715. """ Set self[key] to value. """
  3716. pass
  3717.  
  3718. def __sizeof__(self, *args, **kwargs): # real signature unknown
  3719. """ Return the size of the list in memory, in bytes. """
  3720. pass
  3721.  
  3722. __hash__ = None
  3723.  
  3724. class map(object):
  3725. """
  3726. map(func, *iterables) --> map object
  3727.  
  3728. Make an iterator that computes the function using arguments from
  3729. each of the iterables. Stops when the shortest iterable is exhausted.
  3730. """
  3731. def __getattribute__(self, *args, **kwargs): # real signature unknown
  3732. """ Return getattr(self, name). """
  3733. pass
  3734.  
  3735. def __init__(self, func, *iterables): # real signature unknown; restored from __doc__
  3736. pass
  3737.  
  3738. def __iter__(self, *args, **kwargs): # real signature unknown
  3739. """ Implement iter(self). """
  3740. pass
  3741.  
  3742. @staticmethod # known case of __new__
  3743. def __new__(*args, **kwargs): # real signature unknown
  3744. """ Create and return a new object. See help(type) for accurate signature. """
  3745. pass
  3746.  
  3747. def __next__(self, *args, **kwargs): # real signature unknown
  3748. """ Implement next(self). """
  3749. pass
  3750.  
  3751. def __reduce__(self, *args, **kwargs): # real signature unknown
  3752. """ Return state information for pickling. """
  3753. pass
  3754.  
  3755. class MemoryError(Exception):
  3756. """ Out of memory. """
  3757. def __init__(self, *args, **kwargs): # real signature unknown
  3758. pass
  3759.  
  3760. @staticmethod # known case of __new__
  3761. def __new__(*args, **kwargs): # real signature unknown
  3762. """ Create and return a new object. See help(type) for accurate signature. """
  3763. pass
  3764.  
  3765. class memoryview(object):
  3766. """ Create a new memoryview object which references the given object. """
  3767. def cast(self, *args, **kwargs): # real signature unknown
  3768. """ Cast a memoryview to a new format or shape. """
  3769. pass
  3770.  
  3771. def hex(self, *args, **kwargs): # real signature unknown
  3772. """ Return the data in the buffer as a string of hexadecimal numbers. """
  3773. pass
  3774.  
  3775. def release(self, *args, **kwargs): # real signature unknown
  3776. """ Release the underlying buffer exposed by the memoryview object. """
  3777. pass
  3778.  
  3779. def tobytes(self, *args, **kwargs): # real signature unknown
  3780. """ Return the data in the buffer as a byte string. """
  3781. pass
  3782.  
  3783. def tolist(self, *args, **kwargs): # real signature unknown
  3784. """ Return the data in the buffer as a list of elements. """
  3785. pass
  3786.  
  3787. def __delitem__(self, *args, **kwargs): # real signature unknown
  3788. """ Delete self[key]. """
  3789. pass
  3790.  
  3791. def __enter__(self, *args, **kwargs): # real signature unknown
  3792. pass
  3793.  
  3794. def __eq__(self, *args, **kwargs): # real signature unknown
  3795. """ Return self==value. """
  3796. pass
  3797.  
  3798. def __exit__(self, *args, **kwargs): # real signature unknown
  3799. pass
  3800.  
  3801. def __getattribute__(self, *args, **kwargs): # real signature unknown
  3802. """ Return getattr(self, name). """
  3803. pass
  3804.  
  3805. def __getitem__(self, *args, **kwargs): # real signature unknown
  3806. """ Return self[key]. """
  3807. pass
  3808.  
  3809. def __ge__(self, *args, **kwargs): # real signature unknown
  3810. """ Return self>=value. """
  3811. pass
  3812.  
  3813. def __gt__(self, *args, **kwargs): # real signature unknown
  3814. """ Return self>value. """
  3815. pass
  3816.  
  3817. def __hash__(self, *args, **kwargs): # real signature unknown
  3818. """ Return hash(self). """
  3819. pass
  3820.  
  3821. def __init__(self, *args, **kwargs): # real signature unknown
  3822. pass
  3823.  
  3824. def __len__(self, *args, **kwargs): # real signature unknown
  3825. """ Return len(self). """
  3826. pass
  3827.  
  3828. def __le__(self, *args, **kwargs): # real signature unknown
  3829. """ Return self<=value. """
  3830. pass
  3831.  
  3832. def __lt__(self, *args, **kwargs): # real signature unknown
  3833. """ Return self<value. """
  3834. pass
  3835.  
  3836. @staticmethod # known case of __new__
  3837. def __new__(*args, **kwargs): # real signature unknown
  3838. """ Create and return a new object. See help(type) for accurate signature. """
  3839. pass
  3840.  
  3841. def __ne__(self, *args, **kwargs): # real signature unknown
  3842. """ Return self!=value. """
  3843. pass
  3844.  
  3845. def __repr__(self, *args, **kwargs): # real signature unknown
  3846. """ Return repr(self). """
  3847. pass
  3848.  
  3849. def __setitem__(self, *args, **kwargs): # real signature unknown
  3850. """ Set self[key] to value. """
  3851. pass
  3852.  
  3853. contiguous = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3854. """A bool indicating whether the memory is contiguous."""
  3855.  
  3856. c_contiguous = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3857. """A bool indicating whether the memory is C contiguous."""
  3858.  
  3859. format = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3860. """A string containing the format (in struct module style)
  3861. for each element in the view."""
  3862.  
  3863. f_contiguous = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3864. """A bool indicating whether the memory is Fortran contiguous."""
  3865.  
  3866. itemsize = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3867. """The size in bytes of each element of the memoryview."""
  3868.  
  3869. nbytes = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3870. """The amount of space in bytes that the array would use in
  3871. a contiguous representation."""
  3872.  
  3873. ndim = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3874. """An integer indicating how many dimensions of a multi-dimensional
  3875. array the memory represents."""
  3876.  
  3877. obj = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3878. """The underlying object of the memoryview."""
  3879.  
  3880. readonly = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3881. """A bool indicating whether the memory is read only."""
  3882.  
  3883. shape = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3884. """A tuple of ndim integers giving the shape of the memory
  3885. as an N-dimensional array."""
  3886.  
  3887. strides = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3888. """A tuple of ndim integers giving the size in bytes to access
  3889. each element for each dimension of the array."""
  3890.  
  3891. suboffsets = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  3892. """A tuple of integers used internally for PIL-style arrays."""
  3893.  
  3894. class ModuleNotFoundError(ImportError):
  3895. """ Module not found. """
  3896. def __init__(self, *args, **kwargs): # real signature unknown
  3897. pass
  3898.  
  3899. class NameError(Exception):
  3900. """ Name not found globally. """
  3901. def __init__(self, *args, **kwargs): # real signature unknown
  3902. pass
  3903.  
  3904. @staticmethod # known case of __new__
  3905. def __new__(*args, **kwargs): # real signature unknown
  3906. """ Create and return a new object. See help(type) for accurate signature. """
  3907. pass
  3908.  
  3909. class NotADirectoryError(OSError):
  3910. """ Operation only works on directories. """
  3911. def __init__(self, *args, **kwargs): # real signature unknown
  3912. pass
  3913.  
  3914. class RuntimeError(Exception):
  3915. """ Unspecified run-time error. """
  3916. def __init__(self, *args, **kwargs): # real signature unknown
  3917. pass
  3918.  
  3919. @staticmethod # known case of __new__
  3920. def __new__(*args, **kwargs): # real signature unknown
  3921. """ Create and return a new object. See help(type) for accurate signature. """
  3922. pass
  3923.  
  3924. class NotImplementedError(RuntimeError):
  3925. """ Method or function hasn't been implemented yet. """
  3926. def __init__(self, *args, **kwargs): # real signature unknown
  3927. pass
  3928.  
  3929. @staticmethod # known case of __new__
  3930. def __new__(*args, **kwargs): # real signature unknown
  3931. """ Create and return a new object. See help(type) for accurate signature. """
  3932. pass
  3933.  
  3934. class OverflowError(ArithmeticError):
  3935. """ Result too large to be represented. """
  3936. def __init__(self, *args, **kwargs): # real signature unknown
  3937. pass
  3938.  
  3939. @staticmethod # known case of __new__
  3940. def __new__(*args, **kwargs): # real signature unknown
  3941. """ Create and return a new object. See help(type) for accurate signature. """
  3942. pass
  3943.  
  3944. class PendingDeprecationWarning(Warning):
  3945. """
  3946. Base class for warnings about features which will be deprecated
  3947. in the future.
  3948. """
  3949. def __init__(self, *args, **kwargs): # real signature unknown
  3950. pass
  3951.  
  3952. @staticmethod # known case of __new__
  3953. def __new__(*args, **kwargs): # real signature unknown
  3954. """ Create and return a new object. See help(type) for accurate signature. """
  3955. pass
  3956.  
  3957. class PermissionError(OSError):
  3958. """ Not enough permissions. """
  3959. def __init__(self, *args, **kwargs): # real signature unknown
  3960. pass
  3961.  
  3962. class ProcessLookupError(OSError):
  3963. """ Process not found. """
  3964. def __init__(self, *args, **kwargs): # real signature unknown
  3965. pass
  3966.  
  3967. class property(object):
  3968. """
  3969. Property attribute.
  3970.  
  3971. fget
  3972. function to be used for getting an attribute value
  3973. fset
  3974. function to be used for setting an attribute value
  3975. fdel
  3976. function to be used for del'ing an attribute
  3977. doc
  3978. docstring
  3979.  
  3980. Typical use is to define a managed attribute x:
  3981.  
  3982. class C(object):
  3983. def getx(self): return self._x
  3984. def setx(self, value): self._x = value
  3985. def delx(self): del self._x
  3986. x = property(getx, setx, delx, "I'm the 'x' property.")
  3987.  
  3988. Decorators make defining new properties or modifying existing ones easy:
  3989.  
  3990. class C(object):
  3991. @property
  3992. def x(self):
  3993. "I am the 'x' property."
  3994. return self._x
  3995. @x.setter
  3996. def x(self, value):
  3997. self._x = value
  3998. @x.deleter
  3999. def x(self):
  4000. del self._x
  4001. """
  4002. def deleter(self, *args, **kwargs): # real signature unknown
  4003. """ Descriptor to change the deleter on a property. """
  4004. pass
  4005.  
  4006. def getter(self, *args, **kwargs): # real signature unknown
  4007. """ Descriptor to change the getter on a property. """
  4008. pass
  4009.  
  4010. def setter(self, *args, **kwargs): # real signature unknown
  4011. """ Descriptor to change the setter on a property. """
  4012. pass
  4013.  
  4014. def __delete__(self, *args, **kwargs): # real signature unknown
  4015. """ Delete an attribute of instance. """
  4016. pass
  4017.  
  4018. def __getattribute__(self, *args, **kwargs): # real signature unknown
  4019. """ Return getattr(self, name). """
  4020. pass
  4021.  
  4022. def __get__(self, *args, **kwargs): # real signature unknown
  4023. """ Return an attribute of instance, which is of type owner. """
  4024. pass
  4025.  
  4026. def __init__(self, fget=None, fset=None, fdel=None, doc=None): # known special case of property.__init__
  4027. """
  4028. Property attribute.
  4029.  
  4030. fget
  4031. function to be used for getting an attribute value
  4032. fset
  4033. function to be used for setting an attribute value
  4034. fdel
  4035. function to be used for del'ing an attribute
  4036. doc
  4037. docstring
  4038.  
  4039. Typical use is to define a managed attribute x:
  4040.  
  4041. class C(object):
  4042. def getx(self): return self._x
  4043. def setx(self, value): self._x = value
  4044. def delx(self): del self._x
  4045. x = property(getx, setx, delx, "I'm the 'x' property.")
  4046.  
  4047. Decorators make defining new properties or modifying existing ones easy:
  4048.  
  4049. class C(object):
  4050. @property
  4051. def x(self):
  4052. "I am the 'x' property."
  4053. return self._x
  4054. @x.setter
  4055. def x(self, value):
  4056. self._x = value
  4057. @x.deleter
  4058. def x(self):
  4059. del self._x
  4060. # (copied from class doc)
  4061. """
  4062. pass
  4063.  
  4064. @staticmethod # known case of __new__
  4065. def __new__(*args, **kwargs): # real signature unknown
  4066. """ Create and return a new object. See help(type) for accurate signature. """
  4067. pass
  4068.  
  4069. def __set__(self, *args, **kwargs): # real signature unknown
  4070. """ Set an attribute of instance to value. """
  4071. pass
  4072.  
  4073. fdel = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4074.  
  4075. fget = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4076.  
  4077. fset = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4078.  
  4079. __isabstractmethod__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4080.  
  4081. class range(object):
  4082. """
  4083. range(stop) -> range object
  4084. range(start, stop[, step]) -> range object
  4085.  
  4086. Return an object that produces a sequence of integers from start (inclusive)
  4087. to stop (exclusive) by step. range(i, j) produces i, i+1, i+2, ..., j-1.
  4088. start defaults to 0, and stop is omitted! range(4) produces 0, 1, 2, 3.
  4089. These are exactly the valid indices for a list of 4 elements.
  4090. When step is given, it specifies the increment (or decrement).
  4091. """
  4092. def count(self, value): # real signature unknown; restored from __doc__
  4093. """ rangeobject.count(value) -> integer -- return number of occurrences of value """
  4094. return 0
  4095.  
  4096. def index(self, value): # real signature unknown; restored from __doc__
  4097. """
  4098. rangeobject.index(value) -> integer -- return index of value.
  4099. Raise ValueError if the value is not present.
  4100. """
  4101. return 0
  4102.  
  4103. def __bool__(self, *args, **kwargs): # real signature unknown
  4104. """ self != 0 """
  4105. pass
  4106.  
  4107. def __contains__(self, *args, **kwargs): # real signature unknown
  4108. """ Return key in self. """
  4109. pass
  4110.  
  4111. def __eq__(self, *args, **kwargs): # real signature unknown
  4112. """ Return self==value. """
  4113. pass
  4114.  
  4115. def __getattribute__(self, *args, **kwargs): # real signature unknown
  4116. """ Return getattr(self, name). """
  4117. pass
  4118.  
  4119. def __getitem__(self, *args, **kwargs): # real signature unknown
  4120. """ Return self[key]. """
  4121. pass
  4122.  
  4123. def __ge__(self, *args, **kwargs): # real signature unknown
  4124. """ Return self>=value. """
  4125. pass
  4126.  
  4127. def __gt__(self, *args, **kwargs): # real signature unknown
  4128. """ Return self>value. """
  4129. pass
  4130.  
  4131. def __hash__(self, *args, **kwargs): # real signature unknown
  4132. """ Return hash(self). """
  4133. pass
  4134.  
  4135. def __init__(self, stop): # real signature unknown; restored from __doc__
  4136. pass
  4137.  
  4138. def __iter__(self, *args, **kwargs): # real signature unknown
  4139. """ Implement iter(self). """
  4140. pass
  4141.  
  4142. def __len__(self, *args, **kwargs): # real signature unknown
  4143. """ Return len(self). """
  4144. pass
  4145.  
  4146. def __le__(self, *args, **kwargs): # real signature unknown
  4147. """ Return self<=value. """
  4148. pass
  4149.  
  4150. def __lt__(self, *args, **kwargs): # real signature unknown
  4151. """ Return self<value. """
  4152. pass
  4153.  
  4154. @staticmethod # known case of __new__
  4155. def __new__(*args, **kwargs): # real signature unknown
  4156. """ Create and return a new object. See help(type) for accurate signature. """
  4157. pass
  4158.  
  4159. def __ne__(self, *args, **kwargs): # real signature unknown
  4160. """ Return self!=value. """
  4161. pass
  4162.  
  4163. def __reduce__(self, *args, **kwargs): # real signature unknown
  4164. pass
  4165.  
  4166. def __repr__(self, *args, **kwargs): # real signature unknown
  4167. """ Return repr(self). """
  4168. pass
  4169.  
  4170. def __reversed__(self, *args, **kwargs): # real signature unknown
  4171. """ Return a reverse iterator. """
  4172. pass
  4173.  
  4174. start = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4175.  
  4176. step = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4177.  
  4178. stop = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4179.  
  4180. class RecursionError(RuntimeError):
  4181. """ Recursion limit exceeded. """
  4182. def __init__(self, *args, **kwargs): # real signature unknown
  4183. pass
  4184.  
  4185. @staticmethod # known case of __new__
  4186. def __new__(*args, **kwargs): # real signature unknown
  4187. """ Create and return a new object. See help(type) for accurate signature. """
  4188. pass
  4189.  
  4190. class ReferenceError(Exception):
  4191. """ Weak ref proxy used after referent went away. """
  4192. def __init__(self, *args, **kwargs): # real signature unknown
  4193. pass
  4194.  
  4195. @staticmethod # known case of __new__
  4196. def __new__(*args, **kwargs): # real signature unknown
  4197. """ Create and return a new object. See help(type) for accurate signature. """
  4198. pass
  4199.  
  4200. class ResourceWarning(Warning):
  4201. """ Base class for warnings about resource usage. """
  4202. def __init__(self, *args, **kwargs): # real signature unknown
  4203. pass
  4204.  
  4205. @staticmethod # known case of __new__
  4206. def __new__(*args, **kwargs): # real signature unknown
  4207. """ Create and return a new object. See help(type) for accurate signature. """
  4208. pass
  4209.  
  4210. class reversed(object):
  4211. """ Return a reverse iterator over the values of the given sequence. """
  4212. def __getattribute__(self, *args, **kwargs): # real signature unknown
  4213. """ Return getattr(self, name). """
  4214. pass
  4215.  
  4216. def __init__(self, *args, **kwargs): # real signature unknown
  4217. pass
  4218.  
  4219. def __iter__(self, *args, **kwargs): # real signature unknown
  4220. """ Implement iter(self). """
  4221. pass
  4222.  
  4223. def __length_hint__(self, *args, **kwargs): # real signature unknown
  4224. """ Private method returning an estimate of len(list(it)). """
  4225. pass
  4226.  
  4227. @staticmethod # known case of __new__
  4228. def __new__(*args, **kwargs): # real signature unknown
  4229. """ Create and return a new object. See help(type) for accurate signature. """
  4230. pass
  4231.  
  4232. def __next__(self, *args, **kwargs): # real signature unknown
  4233. """ Implement next(self). """
  4234. pass
  4235.  
  4236. def __reduce__(self, *args, **kwargs): # real signature unknown
  4237. """ Return state information for pickling. """
  4238. pass
  4239.  
  4240. def __setstate__(self, *args, **kwargs): # real signature unknown
  4241. """ Set state information for unpickling. """
  4242. pass
  4243.  
  4244. class RuntimeWarning(Warning):
  4245. """ Base class for warnings about dubious runtime behavior. """
  4246. def __init__(self, *args, **kwargs): # real signature unknown
  4247. pass
  4248.  
  4249. @staticmethod # known case of __new__
  4250. def __new__(*args, **kwargs): # real signature unknown
  4251. """ Create and return a new object. See help(type) for accurate signature. """
  4252. pass
  4253.  
  4254. class set(object):
  4255. """
  4256. set() -> new empty set object
  4257. set(iterable) -> new set object
  4258.  
  4259. Build an unordered collection of unique elements.
  4260. """
  4261. def add(self, *args, **kwargs): # real signature unknown
  4262. """
  4263. Add an element to a set.
  4264.  
  4265. This has no effect if the element is already present.
  4266. """
  4267. pass
  4268.  
  4269. def clear(self, *args, **kwargs): # real signature unknown
  4270. """ Remove all elements from this set. """
  4271. pass
  4272.  
  4273. def copy(self, *args, **kwargs): # real signature unknown
  4274. """ Return a shallow copy of a set. """
  4275. pass
  4276.  
  4277. def difference(self, *args, **kwargs): # real signature unknown
  4278. """
  4279. Return the difference of two or more sets as a new set.
  4280.  
  4281. (i.e. all elements that are in this set but not the others.)
  4282. """
  4283. pass
  4284.  
  4285. def difference_update(self, *args, **kwargs): # real signature unknown
  4286. """ Remove all elements of another set from this set. """
  4287. pass
  4288.  
  4289. def discard(self, *args, **kwargs): # real signature unknown
  4290. """
  4291. Remove an element from a set if it is a member.
  4292.  
  4293. If the element is not a member, do nothing.
  4294. """
  4295. pass
  4296.  
  4297. def intersection(self, *args, **kwargs): # real signature unknown
  4298. """
  4299. Return the intersection of two sets as a new set.
  4300.  
  4301. (i.e. all elements that are in both sets.)
  4302. """
  4303. pass
  4304.  
  4305. def intersection_update(self, *args, **kwargs): # real signature unknown
  4306. """ Update a set with the intersection of itself and another. """
  4307. pass
  4308.  
  4309. def isdisjoint(self, *args, **kwargs): # real signature unknown
  4310. """ Return True if two sets have a null intersection. """
  4311. pass
  4312.  
  4313. def issubset(self, *args, **kwargs): # real signature unknown
  4314. """ Report whether another set contains this set. """
  4315. pass
  4316.  
  4317. def issuperset(self, *args, **kwargs): # real signature unknown
  4318. """ Report whether this set contains another set. """
  4319. pass
  4320.  
  4321. def pop(self, *args, **kwargs): # real signature unknown
  4322. """
  4323. Remove and return an arbitrary set element.
  4324. Raises KeyError if the set is empty.
  4325. """
  4326. pass
  4327.  
  4328. def remove(self, *args, **kwargs): # real signature unknown
  4329. """
  4330. Remove an element from a set; it must be a member.
  4331.  
  4332. If the element is not a member, raise a KeyError.
  4333. """
  4334. pass
  4335.  
  4336. def symmetric_difference(self, *args, **kwargs): # real signature unknown
  4337. """
  4338. Return the symmetric difference of two sets as a new set.
  4339.  
  4340. (i.e. all elements that are in exactly one of the sets.)
  4341. """
  4342. pass
  4343.  
  4344. def symmetric_difference_update(self, *args, **kwargs): # real signature unknown
  4345. """ Update a set with the symmetric difference of itself and another. """
  4346. pass
  4347.  
  4348. def union(self, *args, **kwargs): # real signature unknown
  4349. """
  4350. Return the union of sets as a new set.
  4351.  
  4352. (i.e. all elements that are in either set.)
  4353. """
  4354. pass
  4355.  
  4356. def update(self, *args, **kwargs): # real signature unknown
  4357. """ Update a set with the union of itself and others. """
  4358. pass
  4359.  
  4360. def __and__(self, *args, **kwargs): # real signature unknown
  4361. """ Return self&value. """
  4362. pass
  4363.  
  4364. def __contains__(self, y): # real signature unknown; restored from __doc__
  4365. """ x.__contains__(y) <==> y in x. """
  4366. pass
  4367.  
  4368. def __eq__(self, *args, **kwargs): # real signature unknown
  4369. """ Return self==value. """
  4370. pass
  4371.  
  4372. def __getattribute__(self, *args, **kwargs): # real signature unknown
  4373. """ Return getattr(self, name). """
  4374. pass
  4375.  
  4376. def __ge__(self, *args, **kwargs): # real signature unknown
  4377. """ Return self>=value. """
  4378. pass
  4379.  
  4380. def __gt__(self, *args, **kwargs): # real signature unknown
  4381. """ Return self>value. """
  4382. pass
  4383.  
  4384. def __iand__(self, *args, **kwargs): # real signature unknown
  4385. """ Return self&=value. """
  4386. pass
  4387.  
  4388. def __init__(self, seq=()): # known special case of set.__init__
  4389. """
  4390. set() -> new empty set object
  4391. set(iterable) -> new set object
  4392.  
  4393. Build an unordered collection of unique elements.
  4394. # (copied from class doc)
  4395. """
  4396. pass
  4397.  
  4398. def __ior__(self, *args, **kwargs): # real signature unknown
  4399. """ Return self|=value. """
  4400. pass
  4401.  
  4402. def __isub__(self, *args, **kwargs): # real signature unknown
  4403. """ Return self-=value. """
  4404. pass
  4405.  
  4406. def __iter__(self, *args, **kwargs): # real signature unknown
  4407. """ Implement iter(self). """
  4408. pass
  4409.  
  4410. def __ixor__(self, *args, **kwargs): # real signature unknown
  4411. """ Return self^=value. """
  4412. pass
  4413.  
  4414. def __len__(self, *args, **kwargs): # real signature unknown
  4415. """ Return len(self). """
  4416. pass
  4417.  
  4418. def __le__(self, *args, **kwargs): # real signature unknown
  4419. """ Return self<=value. """
  4420. pass
  4421.  
  4422. def __lt__(self, *args, **kwargs): # real signature unknown
  4423. """ Return self<value. """
  4424. pass
  4425.  
  4426. @staticmethod # known case of __new__
  4427. def __new__(*args, **kwargs): # real signature unknown
  4428. """ Create and return a new object. See help(type) for accurate signature. """
  4429. pass
  4430.  
  4431. def __ne__(self, *args, **kwargs): # real signature unknown
  4432. """ Return self!=value. """
  4433. pass
  4434.  
  4435. def __or__(self, *args, **kwargs): # real signature unknown
  4436. """ Return self|value. """
  4437. pass
  4438.  
  4439. def __rand__(self, *args, **kwargs): # real signature unknown
  4440. """ Return value&self. """
  4441. pass
  4442.  
  4443. def __reduce__(self, *args, **kwargs): # real signature unknown
  4444. """ Return state information for pickling. """
  4445. pass
  4446.  
  4447. def __repr__(self, *args, **kwargs): # real signature unknown
  4448. """ Return repr(self). """
  4449. pass
  4450.  
  4451. def __ror__(self, *args, **kwargs): # real signature unknown
  4452. """ Return value|self. """
  4453. pass
  4454.  
  4455. def __rsub__(self, *args, **kwargs): # real signature unknown
  4456. """ Return value-self. """
  4457. pass
  4458.  
  4459. def __rxor__(self, *args, **kwargs): # real signature unknown
  4460. """ Return value^self. """
  4461. pass
  4462.  
  4463. def __sizeof__(self): # real signature unknown; restored from __doc__
  4464. """ S.__sizeof__() -> size of S in memory, in bytes """
  4465. pass
  4466.  
  4467. def __sub__(self, *args, **kwargs): # real signature unknown
  4468. """ Return self-value. """
  4469. pass
  4470.  
  4471. def __xor__(self, *args, **kwargs): # real signature unknown
  4472. """ Return self^value. """
  4473. pass
  4474.  
  4475. __hash__ = None
  4476.  
  4477. class slice(object):
  4478. """
  4479. slice(stop)
  4480. slice(start, stop[, step])
  4481.  
  4482. Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).
  4483. """
  4484. def indices(self, len): # real signature unknown; restored from __doc__
  4485. """
  4486. S.indices(len) -> (start, stop, stride)
  4487.  
  4488. Assuming a sequence of length len, calculate the start and stop
  4489. indices, and the stride length of the extended slice described by
  4490. S. Out of bounds indices are clipped in a manner consistent with the
  4491. handling of normal slices.
  4492. """
  4493. pass
  4494.  
  4495. def __eq__(self, *args, **kwargs): # real signature unknown
  4496. """ Return self==value. """
  4497. pass
  4498.  
  4499. def __getattribute__(self, *args, **kwargs): # real signature unknown
  4500. """ Return getattr(self, name). """
  4501. pass
  4502.  
  4503. def __ge__(self, *args, **kwargs): # real signature unknown
  4504. """ Return self>=value. """
  4505. pass
  4506.  
  4507. def __gt__(self, *args, **kwargs): # real signature unknown
  4508. """ Return self>value. """
  4509. pass
  4510.  
  4511. def __init__(self, stop): # real signature unknown; restored from __doc__
  4512. pass
  4513.  
  4514. def __le__(self, *args, **kwargs): # real signature unknown
  4515. """ Return self<=value. """
  4516. pass
  4517.  
  4518. def __lt__(self, *args, **kwargs): # real signature unknown
  4519. """ Return self<value. """
  4520. pass
  4521.  
  4522. @staticmethod # known case of __new__
  4523. def __new__(*args, **kwargs): # real signature unknown
  4524. """ Create and return a new object. See help(type) for accurate signature. """
  4525. pass
  4526.  
  4527. def __ne__(self, *args, **kwargs): # real signature unknown
  4528. """ Return self!=value. """
  4529. pass
  4530.  
  4531. def __reduce__(self, *args, **kwargs): # real signature unknown
  4532. """ Return state information for pickling. """
  4533. pass
  4534.  
  4535. def __repr__(self, *args, **kwargs): # real signature unknown
  4536. """ Return repr(self). """
  4537. pass
  4538.  
  4539. start = property(lambda self: 0)
  4540. """:type: int"""
  4541.  
  4542. step = property(lambda self: 0)
  4543. """:type: int"""
  4544.  
  4545. stop = property(lambda self: 0)
  4546. """:type: int"""
  4547.  
  4548. __hash__ = None
  4549.  
  4550. class staticmethod(object):
  4551. """
  4552. staticmethod(function) -> method
  4553.  
  4554. Convert a function to be a static method.
  4555.  
  4556. A static method does not receive an implicit first argument.
  4557. To declare a static method, use this idiom:
  4558.  
  4559. class C:
  4560. @staticmethod
  4561. def f(arg1, arg2, ...):
  4562. ...
  4563.  
  4564. It can be called either on the class (e.g. C.f()) or on an instance
  4565. (e.g. C().f()). The instance is ignored except for its class.
  4566.  
  4567. Static methods in Python are similar to those found in Java or C++.
  4568. For a more advanced concept, see the classmethod builtin.
  4569. """
  4570. def __get__(self, *args, **kwargs): # real signature unknown
  4571. """ Return an attribute of instance, which is of type owner. """
  4572. pass
  4573.  
  4574. def __init__(self, function): # real signature unknown; restored from __doc__
  4575. pass
  4576.  
  4577. @staticmethod # known case of __new__
  4578. def __new__(*args, **kwargs): # real signature unknown
  4579. """ Create and return a new object. See help(type) for accurate signature. """
  4580. pass
  4581.  
  4582. __func__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4583.  
  4584. __isabstractmethod__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4585.  
  4586. __dict__ = None # (!) real value is "mappingproxy({'__get__': <slot wrapper '__get__' of 'staticmethod' objects>, '__init__': <slot wrapper '__init__' of 'staticmethod' objects>, '__new__': <built-in method __new__ of type object at 0x00007FFC494030B0>, '__func__': <member '__func__' of 'staticmethod' objects>, '__isabstractmethod__': <attribute '__isabstractmethod__' of 'staticmethod' objects>, '__dict__': <attribute '__dict__' of 'staticmethod' objects>, '__doc__': 'staticmethod(function) -> method\\n\\nConvert a function to be a static method.\\n\\nA static method does not receive an implicit first argument.\\nTo declare a static method, use this idiom:\\n\\n class C:\\n @staticmethod\\n def f(arg1, arg2, ...):\\n ...\\n\\nIt can be called either on the class (e.g. C.f()) or on an instance\\n(e.g. C().f()). The instance is ignored except for its class.\\n\\nStatic methods in Python are similar to those found in Java or C++.\\nFor a more advanced concept, see the classmethod builtin.'})"
  4587.  
  4588. class StopAsyncIteration(Exception):
  4589. """ Signal the end from iterator.__anext__(). """
  4590. def __init__(self, *args, **kwargs): # real signature unknown
  4591. pass
  4592.  
  4593. @staticmethod # known case of __new__
  4594. def __new__(*args, **kwargs): # real signature unknown
  4595. """ Create and return a new object. See help(type) for accurate signature. """
  4596. pass
  4597.  
  4598. class StopIteration(Exception):
  4599. """ Signal the end from iterator.__next__(). """
  4600. def __init__(self, *args, **kwargs): # real signature unknown
  4601. pass
  4602.  
  4603. value = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  4604. """generator return value"""
  4605.  
  4606. class str(object):
  4607. """
  4608. str(object='') -> str
  4609. str(bytes_or_buffer[, encoding[, errors]]) -> str
  4610.  
  4611. Create a new string object from the given object. If encoding or
  4612. errors is specified, then the object must expose a data buffer
  4613. that will be decoded using the given encoding and error handler.
  4614. Otherwise, returns the result of object.__str__() (if defined)
  4615. or repr(object).
  4616. encoding defaults to sys.getdefaultencoding().
  4617. errors defaults to 'strict'.
  4618. """
  4619. def capitalize(self, *args, **kwargs): # real signature unknown
  4620. """
  4621. Return a capitalized version of the string.
  4622.  
  4623. More specifically, make the first character have upper case and the rest lower
  4624. case.
  4625. """
  4626. pass
  4627.  
  4628. def casefold(self, *args, **kwargs): # real signature unknown
  4629. """ Return a version of the string suitable for caseless comparisons. """
  4630. pass
  4631.  
  4632. def center(self, *args, **kwargs): # real signature unknown
  4633. """
  4634. Return a centered string of length width.
  4635.  
  4636. Padding is done using the specified fill character (default is a space).
  4637. """
  4638. pass
  4639.  
  4640. def count(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  4641. """
  4642. S.count(sub[, start[, end]]) -> int
  4643.  
  4644. Return the number of non-overlapping occurrences of substring sub in
  4645. string S[start:end]. Optional arguments start and end are
  4646. interpreted as in slice notation.
  4647. """
  4648. return 0
  4649.  
  4650. def encode(self, *args, **kwargs): # real signature unknown
  4651. """
  4652. Encode the string using the codec registered for encoding.
  4653.  
  4654. encoding
  4655. The encoding in which to encode the string.
  4656. errors
  4657. The error handling scheme to use for encoding errors.
  4658. The default is 'strict' meaning that encoding errors raise a
  4659. UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
  4660. 'xmlcharrefreplace' as well as any other name registered with
  4661. codecs.register_error that can handle UnicodeEncodeErrors.
  4662. """
  4663. pass
  4664.  
  4665. def endswith(self, suffix, start=None, end=None): # real signature unknown; restored from __doc__
  4666. """
  4667. S.endswith(suffix[, start[, end]]) -> bool
  4668.  
  4669. Return True if S ends with the specified suffix, False otherwise.
  4670. With optional start, test S beginning at that position.
  4671. With optional end, stop comparing S at that position.
  4672. suffix can also be a tuple of strings to try.
  4673. """
  4674. return False
  4675.  
  4676. def expandtabs(self, *args, **kwargs): # real signature unknown
  4677. """
  4678. Return a copy where all tab characters are expanded using spaces.
  4679.  
  4680. If tabsize is not given, a tab size of 8 characters is assumed.
  4681. """
  4682. pass
  4683.  
  4684. def find(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  4685. """
  4686. S.find(sub[, start[, end]]) -> int
  4687.  
  4688. Return the lowest index in S where substring sub is found,
  4689. such that sub is contained within S[start:end]. Optional
  4690. arguments start and end are interpreted as in slice notation.
  4691.  
  4692. Return -1 on failure.
  4693. """
  4694. return 0
  4695.  
  4696. def format(self, *args, **kwargs): # known special case of str.format
  4697. """
  4698. S.format(*args, **kwargs) -> str
  4699.  
  4700. Return a formatted version of S, using substitutions from args and kwargs.
  4701. The substitutions are identified by braces ('{' and '}').
  4702. """
  4703. pass
  4704.  
  4705. def format_map(self, mapping): # real signature unknown; restored from __doc__
  4706. """
  4707. S.format_map(mapping) -> str
  4708.  
  4709. Return a formatted version of S, using substitutions from mapping.
  4710. The substitutions are identified by braces ('{' and '}').
  4711. """
  4712. return ""
  4713.  
  4714. def index(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  4715. """
  4716. S.index(sub[, start[, end]]) -> int
  4717.  
  4718. Return the lowest index in S where substring sub is found,
  4719. such that sub is contained within S[start:end]. Optional
  4720. arguments start and end are interpreted as in slice notation.
  4721.  
  4722. Raises ValueError when the substring is not found.
  4723. """
  4724. return 0
  4725.  
  4726. def isalnum(self, *args, **kwargs): # real signature unknown
  4727. """
  4728. Return True if the string is an alpha-numeric string, False otherwise.
  4729.  
  4730. A string is alpha-numeric if all characters in the string are alpha-numeric and
  4731. there is at least one character in the string.
  4732. """
  4733. pass
  4734.  
  4735. def isalpha(self, *args, **kwargs): # real signature unknown
  4736. """
  4737. Return True if the string is an alphabetic string, False otherwise.
  4738.  
  4739. A string is alphabetic if all characters in the string are alphabetic and there
  4740. is at least one character in the string.
  4741. """
  4742. pass
  4743.  
  4744. def isascii(self, *args, **kwargs): # real signature unknown
  4745. """
  4746. Return True if all characters in the string are ASCII, False otherwise.
  4747.  
  4748. ASCII characters have code points in the range U+0000-U+007F.
  4749. Empty string is ASCII too.
  4750. """
  4751. pass
  4752.  
  4753. def isdecimal(self, *args, **kwargs): # real signature unknown
  4754. """
  4755. Return True if the string is a decimal string, False otherwise.
  4756.  
  4757. A string is a decimal string if all characters in the string are decimal and
  4758. there is at least one character in the string.
  4759. """
  4760. pass
  4761.  
  4762. def isdigit(self, *args, **kwargs): # real signature unknown
  4763. """
  4764. Return True if the string is a digit string, False otherwise.
  4765.  
  4766. A string is a digit string if all characters in the string are digits and there
  4767. is at least one character in the string.
  4768. """
  4769. pass
  4770.  
  4771. def isidentifier(self, *args, **kwargs): # real signature unknown
  4772. """
  4773. Return True if the string is a valid Python identifier, False otherwise.
  4774.  
  4775. Use keyword.iskeyword() to test for reserved identifiers such as "def" and
  4776. "class".
  4777. """
  4778. pass
  4779.  
  4780. def islower(self, *args, **kwargs): # real signature unknown
  4781. """
  4782. Return True if the string is a lowercase string, False otherwise.
  4783.  
  4784. A string is lowercase if all cased characters in the string are lowercase and
  4785. there is at least one cased character in the string.
  4786. """
  4787. pass
  4788.  
  4789. def isnumeric(self, *args, **kwargs): # real signature unknown
  4790. """
  4791. Return True if the string is a numeric string, False otherwise.
  4792.  
  4793. A string is numeric if all characters in the string are numeric and there is at
  4794. least one character in the string.
  4795. """
  4796. pass
  4797.  
  4798. def isprintable(self, *args, **kwargs): # real signature unknown
  4799. """
  4800. Return True if the string is printable, False otherwise.
  4801.  
  4802. A string is printable if all of its characters are considered printable in
  4803. repr() or if it is empty.
  4804. """
  4805. pass
  4806.  
  4807. def isspace(self, *args, **kwargs): # real signature unknown
  4808. """
  4809. Return True if the string is a whitespace string, False otherwise.
  4810.  
  4811. A string is whitespace if all characters in the string are whitespace and there
  4812. is at least one character in the string.
  4813. """
  4814. pass
  4815.  
  4816. def istitle(self, *args, **kwargs): # real signature unknown
  4817. """
  4818. Return True if the string is a title-cased string, False otherwise.
  4819.  
  4820. In a title-cased string, upper- and title-case characters may only
  4821. follow uncased characters and lowercase characters only cased ones.
  4822. """
  4823. pass
  4824.  
  4825. def isupper(self, *args, **kwargs): # real signature unknown
  4826. """
  4827. Return True if the string is an uppercase string, False otherwise.
  4828.  
  4829. A string is uppercase if all cased characters in the string are uppercase and
  4830. there is at least one cased character in the string.
  4831. """
  4832. pass
  4833.  
  4834. def join(self, ab=None, pq=None, rs=None): # real signature unknown; restored from __doc__
  4835. """
  4836. Concatenate any number of strings.
  4837.  
  4838. The string whose method is called is inserted in between each given string.
  4839. The result is returned as a new string.
  4840.  
  4841. Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
  4842. """
  4843. pass
  4844.  
  4845. def ljust(self, *args, **kwargs): # real signature unknown
  4846. """
  4847. Return a left-justified string of length width.
  4848.  
  4849. Padding is done using the specified fill character (default is a space).
  4850. """
  4851. pass
  4852.  
  4853. def lower(self, *args, **kwargs): # real signature unknown
  4854. """ Return a copy of the string converted to lowercase. """
  4855. pass
  4856.  
  4857. def lstrip(self, *args, **kwargs): # real signature unknown
  4858. """
  4859. Return a copy of the string with leading whitespace removed.
  4860.  
  4861. If chars is given and not None, remove characters in chars instead.
  4862. """
  4863. pass
  4864.  
  4865. def maketrans(self, *args, **kwargs): # real signature unknown
  4866. """
  4867. Return a translation table usable for str.translate().
  4868.  
  4869. If there is only one argument, it must be a dictionary mapping Unicode
  4870. ordinals (integers) or characters to Unicode ordinals, strings or None.
  4871. Character keys will be then converted to ordinals.
  4872. If there are two arguments, they must be strings of equal length, and
  4873. in the resulting dictionary, each character in x will be mapped to the
  4874. character at the same position in y. If there is a third argument, it
  4875. must be a string, whose characters will be mapped to None in the result.
  4876. """
  4877. pass
  4878.  
  4879. def partition(self, *args, **kwargs): # real signature unknown
  4880. """
  4881. Partition the string into three parts using the given separator.
  4882.  
  4883. This will search for the separator in the string. If the separator is found,
  4884. returns a 3-tuple containing the part before the separator, the separator
  4885. itself, and the part after it.
  4886.  
  4887. If the separator is not found, returns a 3-tuple containing the original string
  4888. and two empty strings.
  4889. """
  4890. pass
  4891.  
  4892. def replace(self, *args, **kwargs): # real signature unknown
  4893. """
  4894. Return a copy with all occurrences of substring old replaced by new.
  4895.  
  4896. count
  4897. Maximum number of occurrences to replace.
  4898. -1 (the default value) means replace all occurrences.
  4899.  
  4900. If the optional argument count is given, only the first count occurrences are
  4901. replaced.
  4902. """
  4903. pass
  4904.  
  4905. def rfind(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  4906. """
  4907. S.rfind(sub[, start[, end]]) -> int
  4908.  
  4909. Return the highest index in S where substring sub is found,
  4910. such that sub is contained within S[start:end]. Optional
  4911. arguments start and end are interpreted as in slice notation.
  4912.  
  4913. Return -1 on failure.
  4914. """
  4915. return 0
  4916.  
  4917. def rindex(self, sub, start=None, end=None): # real signature unknown; restored from __doc__
  4918. """
  4919. S.rindex(sub[, start[, end]]) -> int
  4920.  
  4921. Return the highest index in S where substring sub is found,
  4922. such that sub is contained within S[start:end]. Optional
  4923. arguments start and end are interpreted as in slice notation.
  4924.  
  4925. Raises ValueError when the substring is not found.
  4926. """
  4927. return 0
  4928.  
  4929. def rjust(self, *args, **kwargs): # real signature unknown
  4930. """
  4931. Return a right-justified string of length width.
  4932.  
  4933. Padding is done using the specified fill character (default is a space).
  4934. """
  4935. pass
  4936.  
  4937. def rpartition(self, *args, **kwargs): # real signature unknown
  4938. """
  4939. Partition the string into three parts using the given separator.
  4940.  
  4941. This will search for the separator in the string, starting at the end. If
  4942. the separator is found, returns a 3-tuple containing the part before the
  4943. separator, the separator itself, and the part after it.
  4944.  
  4945. If the separator is not found, returns a 3-tuple containing two empty strings
  4946. and the original string.
  4947. """
  4948. pass
  4949.  
  4950. def rsplit(self, *args, **kwargs): # real signature unknown
  4951. """
  4952. Return a list of the words in the string, using sep as the delimiter string.
  4953.  
  4954. sep
  4955. The delimiter according which to split the string.
  4956. None (the default value) means split according to any whitespace,
  4957. and discard empty strings from the result.
  4958. maxsplit
  4959. Maximum number of splits to do.
  4960. -1 (the default value) means no limit.
  4961.  
  4962. Splits are done starting at the end of the string and working to the front.
  4963. """
  4964. pass
  4965.  
  4966. def rstrip(self, *args, **kwargs): # real signature unknown
  4967. """
  4968. Return a copy of the string with trailing whitespace removed.
  4969.  
  4970. If chars is given and not None, remove characters in chars instead.
  4971. """
  4972. pass
  4973.  
  4974. def split(self, *args, **kwargs): # real signature unknown
  4975. """
  4976. Return a list of the words in the string, using sep as the delimiter string.
  4977.  
  4978. sep
  4979. The delimiter according which to split the string.
  4980. None (the default value) means split according to any whitespace,
  4981. and discard empty strings from the result.
  4982. maxsplit
  4983. Maximum number of splits to do.
  4984. -1 (the default value) means no limit.
  4985. """
  4986. pass
  4987.  
  4988. def splitlines(self, *args, **kwargs): # real signature unknown
  4989. """
  4990. Return a list of the lines in the string, breaking at line boundaries.
  4991.  
  4992. Line breaks are not included in the resulting list unless keepends is given and
  4993. true.
  4994. """
  4995. pass
  4996.  
  4997. def startswith(self, prefix, start=None, end=None): # real signature unknown; restored from __doc__
  4998. """
  4999. S.startswith(prefix[, start[, end]]) -> bool
  5000.  
  5001. Return True if S starts with the specified prefix, False otherwise.
  5002. With optional start, test S beginning at that position.
  5003. With optional end, stop comparing S at that position.
  5004. prefix can also be a tuple of strings to try.
  5005. """
  5006. return False
  5007.  
  5008. def strip(self, *args, **kwargs): # real signature unknown
  5009. """
  5010. Return a copy of the string with leading and trailing whitespace removed.
  5011.  
  5012. If chars is given and not None, remove characters in chars instead.
  5013. """
  5014. pass
  5015.  
  5016. def swapcase(self, *args, **kwargs): # real signature unknown
  5017. """ Convert uppercase characters to lowercase and lowercase characters to uppercase. """
  5018. pass
  5019.  
  5020. def title(self, *args, **kwargs): # real signature unknown
  5021. """
  5022. Return a version of the string where each word is titlecased.
  5023.  
  5024. More specifically, words start with uppercased characters and all remaining
  5025. cased characters have lower case.
  5026. """
  5027. pass
  5028.  
  5029. def translate(self, *args, **kwargs): # real signature unknown
  5030. """
  5031. Replace each character in the string using the given translation table.
  5032.  
  5033. table
  5034. Translation table, which must be a mapping of Unicode ordinals to
  5035. Unicode ordinals, strings, or None.
  5036.  
  5037. The table must implement lookup/indexing via __getitem__, for instance a
  5038. dictionary or list. If this operation raises LookupError, the character is
  5039. left untouched. Characters mapped to None are deleted.
  5040. """
  5041. pass
  5042.  
  5043. def upper(self, *args, **kwargs): # real signature unknown
  5044. """ Return a copy of the string converted to uppercase. """
  5045. pass
  5046.  
  5047. def zfill(self, *args, **kwargs): # real signature unknown
  5048. """
  5049. Pad a numeric string with zeros on the left, to fill a field of the given width.
  5050.  
  5051. The string is never truncated.
  5052. """
  5053. pass
  5054.  
  5055. def __add__(self, *args, **kwargs): # real signature unknown
  5056. """ Return self+value. """
  5057. pass
  5058.  
  5059. def __contains__(self, *args, **kwargs): # real signature unknown
  5060. """ Return key in self. """
  5061. pass
  5062.  
  5063. def __eq__(self, *args, **kwargs): # real signature unknown
  5064. """ Return self==value. """
  5065. pass
  5066.  
  5067. def __format__(self, *args, **kwargs): # real signature unknown
  5068. """ Return a formatted version of the string as described by format_spec. """
  5069. pass
  5070.  
  5071. def __getattribute__(self, *args, **kwargs): # real signature unknown
  5072. """ Return getattr(self, name). """
  5073. pass
  5074.  
  5075. def __getitem__(self, *args, **kwargs): # real signature unknown
  5076. """ Return self[key]. """
  5077. pass
  5078.  
  5079. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  5080. pass
  5081.  
  5082. def __ge__(self, *args, **kwargs): # real signature unknown
  5083. """ Return self>=value. """
  5084. pass
  5085.  
  5086. def __gt__(self, *args, **kwargs): # real signature unknown
  5087. """ Return self>value. """
  5088. pass
  5089.  
  5090. def __hash__(self, *args, **kwargs): # real signature unknown
  5091. """ Return hash(self). """
  5092. pass
  5093.  
  5094. def __init__(self, value='', encoding=None, errors='strict'): # known special case of str.__init__
  5095. """
  5096. str(object='') -> str
  5097. str(bytes_or_buffer[, encoding[, errors]]) -> str
  5098.  
  5099. Create a new string object from the given object. If encoding or
  5100. errors is specified, then the object must expose a data buffer
  5101. that will be decoded using the given encoding and error handler.
  5102. Otherwise, returns the result of object.__str__() (if defined)
  5103. or repr(object).
  5104. encoding defaults to sys.getdefaultencoding().
  5105. errors defaults to 'strict'.
  5106. # (copied from class doc)
  5107. """
  5108. pass
  5109.  
  5110. def __iter__(self, *args, **kwargs): # real signature unknown
  5111. """ Implement iter(self). """
  5112. pass
  5113.  
  5114. def __len__(self, *args, **kwargs): # real signature unknown
  5115. """ Return len(self). """
  5116. pass
  5117.  
  5118. def __le__(self, *args, **kwargs): # real signature unknown
  5119. """ Return self<=value. """
  5120. pass
  5121.  
  5122. def __lt__(self, *args, **kwargs): # real signature unknown
  5123. """ Return self<value. """
  5124. pass
  5125.  
  5126. def __mod__(self, *args, **kwargs): # real signature unknown
  5127. """ Return self%value. """
  5128. pass
  5129.  
  5130. def __mul__(self, *args, **kwargs): # real signature unknown
  5131. """ Return self*value. """
  5132. pass
  5133.  
  5134. @staticmethod # known case of __new__
  5135. def __new__(*args, **kwargs): # real signature unknown
  5136. """ Create and return a new object. See help(type) for accurate signature. """
  5137. pass
  5138.  
  5139. def __ne__(self, *args, **kwargs): # real signature unknown
  5140. """ Return self!=value. """
  5141. pass
  5142.  
  5143. def __repr__(self, *args, **kwargs): # real signature unknown
  5144. """ Return repr(self). """
  5145. pass
  5146.  
  5147. def __rmod__(self, *args, **kwargs): # real signature unknown
  5148. """ Return value%self. """
  5149. pass
  5150.  
  5151. def __rmul__(self, *args, **kwargs): # real signature unknown
  5152. """ Return value*self. """
  5153. pass
  5154.  
  5155. def __sizeof__(self, *args, **kwargs): # real signature unknown
  5156. """ Return the size of the string in memory, in bytes. """
  5157. pass
  5158.  
  5159. def __str__(self, *args, **kwargs): # real signature unknown
  5160. """ Return str(self). """
  5161. pass
  5162.  
  5163. class super(object):
  5164. """
  5165. super() -> same as super(__class__, <first argument>)
  5166. super(type) -> unbound super object
  5167. super(type, obj) -> bound super object; requires isinstance(obj, type)
  5168. super(type, type2) -> bound super object; requires issubclass(type2, type)
  5169. Typical use to call a cooperative superclass method:
  5170. class C(B):
  5171. def meth(self, arg):
  5172. super().meth(arg)
  5173. This works for class methods too:
  5174. class C(B):
  5175. @classmethod
  5176. def cmeth(cls, arg):
  5177. super().cmeth(arg)
  5178. """
  5179. def __getattribute__(self, *args, **kwargs): # real signature unknown
  5180. """ Return getattr(self, name). """
  5181. pass
  5182.  
  5183. def __get__(self, *args, **kwargs): # real signature unknown
  5184. """ Return an attribute of instance, which is of type owner. """
  5185. pass
  5186.  
  5187. def __init__(self, type1=None, type2=None): # known special case of super.__init__
  5188. """
  5189. super() -> same as super(__class__, <first argument>)
  5190. super(type) -> unbound super object
  5191. super(type, obj) -> bound super object; requires isinstance(obj, type)
  5192. super(type, type2) -> bound super object; requires issubclass(type2, type)
  5193. Typical use to call a cooperative superclass method:
  5194. class C(B):
  5195. def meth(self, arg):
  5196. super().meth(arg)
  5197. This works for class methods too:
  5198. class C(B):
  5199. @classmethod
  5200. def cmeth(cls, arg):
  5201. super().cmeth(arg)
  5202.  
  5203. # (copied from class doc)
  5204. """
  5205. pass
  5206.  
  5207. @staticmethod # known case of __new__
  5208. def __new__(*args, **kwargs): # real signature unknown
  5209. """ Create and return a new object. See help(type) for accurate signature. """
  5210. pass
  5211.  
  5212. def __repr__(self, *args, **kwargs): # real signature unknown
  5213. """ Return repr(self). """
  5214. pass
  5215.  
  5216. __self_class__ = property(lambda self: type(object))
  5217. """the type of the instance invoking super(); may be None
  5218.  
  5219. :type: type
  5220. """
  5221.  
  5222. __self__ = property(lambda self: type(object))
  5223. """the instance invoking super(); may be None
  5224.  
  5225. :type: type
  5226. """
  5227.  
  5228. __thisclass__ = property(lambda self: type(object))
  5229. """the class invoking super()
  5230.  
  5231. :type: type
  5232. """
  5233.  
  5234. class SyntaxWarning(Warning):
  5235. """ Base class for warnings about dubious syntax. """
  5236. def __init__(self, *args, **kwargs): # real signature unknown
  5237. pass
  5238.  
  5239. @staticmethod # known case of __new__
  5240. def __new__(*args, **kwargs): # real signature unknown
  5241. """ Create and return a new object. See help(type) for accurate signature. """
  5242. pass
  5243.  
  5244. class SystemError(Exception):
  5245. """
  5246. Internal error in the Python interpreter.
  5247.  
  5248. Please report this to the Python maintainer, along with the traceback,
  5249. the Python version, and the hardware/OS platform and version.
  5250. """
  5251. def __init__(self, *args, **kwargs): # real signature unknown
  5252. pass
  5253.  
  5254. @staticmethod # known case of __new__
  5255. def __new__(*args, **kwargs): # real signature unknown
  5256. """ Create and return a new object. See help(type) for accurate signature. """
  5257. pass
  5258.  
  5259. class SystemExit(BaseException):
  5260. """ Request to exit from the interpreter. """
  5261. def __init__(self, *args, **kwargs): # real signature unknown
  5262. pass
  5263.  
  5264. code = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5265. """exception code"""
  5266.  
  5267. class TabError(IndentationError):
  5268. """ Improper mixture of spaces and tabs. """
  5269. def __init__(self, *args, **kwargs): # real signature unknown
  5270. pass
  5271.  
  5272. class TimeoutError(OSError):
  5273. """ Timeout expired. """
  5274. def __init__(self, *args, **kwargs): # real signature unknown
  5275. pass
  5276.  
  5277. class tuple(object):
  5278. """
  5279. Built-in immutable sequence.
  5280.  
  5281. If no argument is given, the constructor returns an empty tuple.
  5282. If iterable is specified the tuple is initialized from iterable's items.
  5283.  
  5284. If the argument is a tuple, the return value is the same object.
  5285. """
  5286. def count(self, *args, **kwargs): # real signature unknown
  5287. """ Return number of occurrences of value. """
  5288. pass
  5289.  
  5290. def index(self, *args, **kwargs): # real signature unknown
  5291. """
  5292. Return first index of value.
  5293.  
  5294. Raises ValueError if the value is not present.
  5295. """
  5296. pass
  5297.  
  5298. def __add__(self, *args, **kwargs): # real signature unknown
  5299. """ Return self+value. """
  5300. pass
  5301.  
  5302. def __contains__(self, *args, **kwargs): # real signature unknown
  5303. """ Return key in self. """
  5304. pass
  5305.  
  5306. def __eq__(self, *args, **kwargs): # real signature unknown
  5307. """ Return self==value. """
  5308. pass
  5309.  
  5310. def __getattribute__(self, *args, **kwargs): # real signature unknown
  5311. """ Return getattr(self, name). """
  5312. pass
  5313.  
  5314. def __getitem__(self, *args, **kwargs): # real signature unknown
  5315. """ Return self[key]. """
  5316. pass
  5317.  
  5318. def __getnewargs__(self, *args, **kwargs): # real signature unknown
  5319. pass
  5320.  
  5321. def __ge__(self, *args, **kwargs): # real signature unknown
  5322. """ Return self>=value. """
  5323. pass
  5324.  
  5325. def __gt__(self, *args, **kwargs): # real signature unknown
  5326. """ Return self>value. """
  5327. pass
  5328.  
  5329. def __hash__(self, *args, **kwargs): # real signature unknown
  5330. """ Return hash(self). """
  5331. pass
  5332.  
  5333. def __init__(self, seq=()): # known special case of tuple.__init__
  5334. """
  5335. Built-in immutable sequence.
  5336.  
  5337. If no argument is given, the constructor returns an empty tuple.
  5338. If iterable is specified the tuple is initialized from iterable's items.
  5339.  
  5340. If the argument is a tuple, the return value is the same object.
  5341. # (copied from class doc)
  5342. """
  5343. pass
  5344.  
  5345. def __iter__(self, *args, **kwargs): # real signature unknown
  5346. """ Implement iter(self). """
  5347. pass
  5348.  
  5349. def __len__(self, *args, **kwargs): # real signature unknown
  5350. """ Return len(self). """
  5351. pass
  5352.  
  5353. def __le__(self, *args, **kwargs): # real signature unknown
  5354. """ Return self<=value. """
  5355. pass
  5356.  
  5357. def __lt__(self, *args, **kwargs): # real signature unknown
  5358. """ Return self<value. """
  5359. pass
  5360.  
  5361. def __mul__(self, *args, **kwargs): # real signature unknown
  5362. """ Return self*value. """
  5363. pass
  5364.  
  5365. @staticmethod # known case of __new__
  5366. def __new__(*args, **kwargs): # real signature unknown
  5367. """ Create and return a new object. See help(type) for accurate signature. """
  5368. pass
  5369.  
  5370. def __ne__(self, *args, **kwargs): # real signature unknown
  5371. """ Return self!=value. """
  5372. pass
  5373.  
  5374. def __repr__(self, *args, **kwargs): # real signature unknown
  5375. """ Return repr(self). """
  5376. pass
  5377.  
  5378. def __rmul__(self, *args, **kwargs): # real signature unknown
  5379. """ Return value*self. """
  5380. pass
  5381.  
  5382. class type(object):
  5383. """
  5384. type(object_or_name, bases, dict)
  5385. type(object) -> the object's type
  5386. type(name, bases, dict) -> a new type
  5387. """
  5388. def mro(self, *args, **kwargs): # real signature unknown
  5389. """ Return a type's method resolution order. """
  5390. pass
  5391.  
  5392. def __call__(self, *args, **kwargs): # real signature unknown
  5393. """ Call self as a function. """
  5394. pass
  5395.  
  5396. def __delattr__(self, *args, **kwargs): # real signature unknown
  5397. """ Implement delattr(self, name). """
  5398. pass
  5399.  
  5400. def __dir__(self, *args, **kwargs): # real signature unknown
  5401. """ Specialized __dir__ implementation for types. """
  5402. pass
  5403.  
  5404. def __getattribute__(self, *args, **kwargs): # real signature unknown
  5405. """ Return getattr(self, name). """
  5406. pass
  5407.  
  5408. def __init__(cls, what, bases=None, dict=None): # known special case of type.__init__
  5409. """
  5410. type(object_or_name, bases, dict)
  5411. type(object) -> the object's type
  5412. type(name, bases, dict) -> a new type
  5413. # (copied from class doc)
  5414. """
  5415. pass
  5416.  
  5417. def __instancecheck__(self, *args, **kwargs): # real signature unknown
  5418. """ Check if an object is an instance. """
  5419. pass
  5420.  
  5421. @staticmethod # known case of __new__
  5422. def __new__(*args, **kwargs): # real signature unknown
  5423. """ Create and return a new object. See help(type) for accurate signature. """
  5424. pass
  5425.  
  5426. def __prepare__(self): # real signature unknown; restored from __doc__
  5427. """
  5428. __prepare__() -> dict
  5429. used to create the namespace for the class statement
  5430. """
  5431. return {}
  5432.  
  5433. def __repr__(self, *args, **kwargs): # real signature unknown
  5434. """ Return repr(self). """
  5435. pass
  5436.  
  5437. def __setattr__(self, *args, **kwargs): # real signature unknown
  5438. """ Implement setattr(self, name, value). """
  5439. pass
  5440.  
  5441. def __sizeof__(self, *args, **kwargs): # real signature unknown
  5442. """ Return memory consumption of the type object. """
  5443. pass
  5444.  
  5445. def __subclasscheck__(self, *args, **kwargs): # real signature unknown
  5446. """ Check if a class is a subclass. """
  5447. pass
  5448.  
  5449. def __subclasses__(self, *args, **kwargs): # real signature unknown
  5450. """ Return a list of immediate subclasses. """
  5451. pass
  5452.  
  5453. __abstractmethods__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5454.  
  5455. __bases__ = (
  5456. object,
  5457. )
  5458. __base__ = object
  5459. __basicsize__ = 864
  5460. __dictoffset__ = 264
  5461. __dict__ = None # (!) real value is "mappingproxy({'__repr__': <slot wrapper '__repr__' of 'type' objects>, '__call__': <slot wrapper '__call__' of 'type' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'type' objects>, '__setattr__': <slot wrapper '__setattr__' of 'type' objects>, '__delattr__': <slot wrapper '__delattr__' of 'type' objects>, '__init__': <slot wrapper '__init__' of 'type' objects>, '__new__': <built-in method __new__ of type object at 0x00007FFC494069A0>, 'mro': <method 'mro' of 'type' objects>, '__subclasses__': <method '__subclasses__' of 'type' objects>, '__prepare__': <method '__prepare__' of 'type' objects>, '__instancecheck__': <method '__instancecheck__' of 'type' objects>, '__subclasscheck__': <method '__subclasscheck__' of 'type' objects>, '__dir__': <method '__dir__' of 'type' objects>, '__sizeof__': <method '__sizeof__' of 'type' objects>, '__basicsize__': <member '__basicsize__' of 'type' objects>, '__itemsize__': <member '__itemsize__' of 'type' objects>, '__flags__': <member '__flags__' of 'type' objects>, '__weakrefoffset__': <member '__weakrefoffset__' of 'type' objects>, '__base__': <member '__base__' of 'type' objects>, '__dictoffset__': <member '__dictoffset__' of 'type' objects>, '__mro__': <member '__mro__' of 'type' objects>, '__name__': <attribute '__name__' of 'type' objects>, '__qualname__': <attribute '__qualname__' of 'type' objects>, '__bases__': <attribute '__bases__' of 'type' objects>, '__module__': <attribute '__module__' of 'type' objects>, '__abstractmethods__': <attribute '__abstractmethods__' of 'type' objects>, '__dict__': <attribute '__dict__' of 'type' objects>, '__doc__': <attribute '__doc__' of 'type' objects>, '__text_signature__': <attribute '__text_signature__' of 'type' objects>})"
  5462. __flags__ = 2148291584
  5463. __itemsize__ = 40
  5464. __mro__ = (
  5465. None, # (!) forward: type, real value is "<class 'type'>"
  5466. object,
  5467. )
  5468. __name__ = 'type'
  5469. __qualname__ = 'type'
  5470. __text_signature__ = None
  5471. __weakrefoffset__ = 368
  5472.  
  5473. class TypeError(Exception):
  5474. """ Inappropriate argument type. """
  5475. def __init__(self, *args, **kwargs): # real signature unknown
  5476. pass
  5477.  
  5478. @staticmethod # known case of __new__
  5479. def __new__(*args, **kwargs): # real signature unknown
  5480. """ Create and return a new object. See help(type) for accurate signature. """
  5481. pass
  5482.  
  5483. class UnboundLocalError(NameError):
  5484. """ Local name referenced but not bound to a value. """
  5485. def __init__(self, *args, **kwargs): # real signature unknown
  5486. pass
  5487.  
  5488. @staticmethod # known case of __new__
  5489. def __new__(*args, **kwargs): # real signature unknown
  5490. """ Create and return a new object. See help(type) for accurate signature. """
  5491. pass
  5492.  
  5493. class ValueError(Exception):
  5494. """ Inappropriate argument value (of correct type). """
  5495. def __init__(self, *args, **kwargs): # real signature unknown
  5496. pass
  5497.  
  5498. @staticmethod # known case of __new__
  5499. def __new__(*args, **kwargs): # real signature unknown
  5500. """ Create and return a new object. See help(type) for accurate signature. """
  5501. pass
  5502.  
  5503. class UnicodeError(ValueError):
  5504. """ Unicode related error. """
  5505. def __init__(self, *args, **kwargs): # real signature unknown
  5506. pass
  5507.  
  5508. @staticmethod # known case of __new__
  5509. def __new__(*args, **kwargs): # real signature unknown
  5510. """ Create and return a new object. See help(type) for accurate signature. """
  5511. pass
  5512.  
  5513. class UnicodeDecodeError(UnicodeError):
  5514. """ Unicode decoding error. """
  5515. def __init__(self, *args, **kwargs): # real signature unknown
  5516. pass
  5517.  
  5518. @staticmethod # known case of __new__
  5519. def __new__(*args, **kwargs): # real signature unknown
  5520. """ Create and return a new object. See help(type) for accurate signature. """
  5521. pass
  5522.  
  5523. def __str__(self, *args, **kwargs): # real signature unknown
  5524. """ Return str(self). """
  5525. pass
  5526.  
  5527. encoding = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5528. """exception encoding"""
  5529.  
  5530. end = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5531. """exception end"""
  5532.  
  5533. object = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5534. """exception object"""
  5535.  
  5536. reason = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5537. """exception reason"""
  5538.  
  5539. start = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5540. """exception start"""
  5541.  
  5542. class UnicodeEncodeError(UnicodeError):
  5543. """ Unicode encoding error. """
  5544. def __init__(self, *args, **kwargs): # real signature unknown
  5545. pass
  5546.  
  5547. @staticmethod # known case of __new__
  5548. def __new__(*args, **kwargs): # real signature unknown
  5549. """ Create and return a new object. See help(type) for accurate signature. """
  5550. pass
  5551.  
  5552. def __str__(self, *args, **kwargs): # real signature unknown
  5553. """ Return str(self). """
  5554. pass
  5555.  
  5556. encoding = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5557. """exception encoding"""
  5558.  
  5559. end = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5560. """exception end"""
  5561.  
  5562. object = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5563. """exception object"""
  5564.  
  5565. reason = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5566. """exception reason"""
  5567.  
  5568. start = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5569. """exception start"""
  5570.  
  5571. class UnicodeTranslateError(UnicodeError):
  5572. """ Unicode translation error. """
  5573. def __init__(self, *args, **kwargs): # real signature unknown
  5574. pass
  5575.  
  5576. @staticmethod # known case of __new__
  5577. def __new__(*args, **kwargs): # real signature unknown
  5578. """ Create and return a new object. See help(type) for accurate signature. """
  5579. pass
  5580.  
  5581. def __str__(self, *args, **kwargs): # real signature unknown
  5582. """ Return str(self). """
  5583. pass
  5584.  
  5585. encoding = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5586. """exception encoding"""
  5587.  
  5588. end = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5589. """exception end"""
  5590.  
  5591. object = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5592. """exception object"""
  5593.  
  5594. reason = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5595. """exception reason"""
  5596.  
  5597. start = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5598. """exception start"""
  5599.  
  5600. class UnicodeWarning(Warning):
  5601. """
  5602. Base class for warnings about Unicode related problems, mostly
  5603. related to conversion problems.
  5604. """
  5605. def __init__(self, *args, **kwargs): # real signature unknown
  5606. pass
  5607.  
  5608. @staticmethod # known case of __new__
  5609. def __new__(*args, **kwargs): # real signature unknown
  5610. """ Create and return a new object. See help(type) for accurate signature. """
  5611. pass
  5612.  
  5613. class UserWarning(Warning):
  5614. """ Base class for warnings generated by user code. """
  5615. def __init__(self, *args, **kwargs): # real signature unknown
  5616. pass
  5617.  
  5618. @staticmethod # known case of __new__
  5619. def __new__(*args, **kwargs): # real signature unknown
  5620. """ Create and return a new object. See help(type) for accurate signature. """
  5621. pass
  5622.  
  5623. class ZeroDivisionError(ArithmeticError):
  5624. """ Second argument to a division or modulo operation was zero. """
  5625. def __init__(self, *args, **kwargs): # real signature unknown
  5626. pass
  5627.  
  5628. @staticmethod # known case of __new__
  5629. def __new__(*args, **kwargs): # real signature unknown
  5630. """ Create and return a new object. See help(type) for accurate signature. """
  5631. pass
  5632.  
  5633. class zip(object):
  5634. """
  5635. zip(*iterables) --> zip object
  5636.  
  5637. Return a zip object whose .__next__() method returns a tuple where
  5638. the i-th element comes from the i-th iterable argument. The .__next__()
  5639. method continues until the shortest iterable in the argument sequence
  5640. is exhausted and then it raises StopIteration.
  5641. """
  5642. def __getattribute__(self, *args, **kwargs): # real signature unknown
  5643. """ Return getattr(self, name). """
  5644. pass
  5645.  
  5646. def __init__(self, *iterables): # real signature unknown; restored from __doc__
  5647. pass
  5648.  
  5649. def __iter__(self, *args, **kwargs): # real signature unknown
  5650. """ Implement iter(self). """
  5651. pass
  5652.  
  5653. @staticmethod # known case of __new__
  5654. def __new__(*args, **kwargs): # real signature unknown
  5655. """ Create and return a new object. See help(type) for accurate signature. """
  5656. pass
  5657.  
  5658. def __next__(self, *args, **kwargs): # real signature unknown
  5659. """ Implement next(self). """
  5660. pass
  5661.  
  5662. def __reduce__(self, *args, **kwargs): # real signature unknown
  5663. """ Return state information for pickling. """
  5664. pass
  5665.  
  5666. class __loader__(object):
  5667. """
  5668. Meta path import for built-in modules.
  5669.  
  5670. All methods are either class or static methods to avoid the need to
  5671. instantiate the class.
  5672. """
  5673. def create_module(self, *args, **kwargs): # real signature unknown
  5674. """ Create a built-in module """
  5675. pass
  5676.  
  5677. def exec_module(self, *args, **kwargs): # real signature unknown
  5678. """ Exec a built-in module """
  5679. pass
  5680.  
  5681. def find_module(self, *args, **kwargs): # real signature unknown
  5682. """
  5683. Find the built-in module.
  5684.  
  5685. If 'path' is ever specified then the search is considered a failure.
  5686.  
  5687. This method is deprecated. Use find_spec() instead.
  5688. """
  5689. pass
  5690.  
  5691. def find_spec(self, *args, **kwargs): # real signature unknown
  5692. pass
  5693.  
  5694. def get_code(self, *args, **kwargs): # real signature unknown
  5695. """ Return None as built-in modules do not have code objects. """
  5696. pass
  5697.  
  5698. def get_source(self, *args, **kwargs): # real signature unknown
  5699. """ Return None as built-in modules do not have source code. """
  5700. pass
  5701.  
  5702. def is_package(self, *args, **kwargs): # real signature unknown
  5703. """ Return False as built-in modules are never packages. """
  5704. pass
  5705.  
  5706. def load_module(self, *args, **kwargs): # real signature unknown
  5707. """
  5708. Load the specified module into sys.modules and return it.
  5709.  
  5710. This method is deprecated. Use loader.exec_module instead.
  5711. """
  5712. pass
  5713.  
  5714. def module_repr(module): # reliably restored by inspect
  5715. """
  5716. Return repr for the module.
  5717.  
  5718. The method is deprecated. The import machinery does the job itself.
  5719. """
  5720. pass
  5721.  
  5722. def __init__(self, *args, **kwargs): # real signature unknown
  5723. pass
  5724.  
  5725. __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
  5726. """list of weak references to the object (if defined)"""
  5727.  
  5728. __dict__ = None # (!) real value is "mappingproxy({'__module__': '_frozen_importlib', '__doc__': 'Meta path import for built-in modules.\\n\\n All methods are either class or static methods to avoid the need to\\n instantiate the class.\\n\\n ', 'module_repr': <staticmethod object at 0x00000233C28F6FC8>, 'find_spec': <classmethod object at 0x00000233C28FE048>, 'find_module': <classmethod object at 0x00000233C28FE088>, 'create_module': <classmethod object at 0x00000233C28FE0C8>, 'exec_module': <classmethod object at 0x00000233C28FE108>, 'get_code': <classmethod object at 0x00000233C28FE188>, 'get_source': <classmethod object at 0x00000233C28FE208>, 'is_package': <classmethod object at 0x00000233C28FE288>, 'load_module': <classmethod object at 0x00000233C28FE2C8>, '__dict__': <attribute '__dict__' of 'BuiltinImporter' objects>, '__weakref__': <attribute '__weakref__' of 'BuiltinImporter' objects>})"
  5729.  
  5730. # variables with complex values
  5731.  
  5732. Ellipsis = None # (!) real value is 'Ellipsis'
  5733.  
  5734. NotImplemented = None # (!) real value is 'NotImplemented'
  5735.  
  5736. __spec__ = None # (!) real value is "ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>)"

python开发基础(二)运算符以及数据类型之dict(字典)的更多相关文章

  1. python开发基础(二)-运算符以及数据类型

    ##运算符 算数运算符: ---> 赋值运算符 >>>返回结果为值 + # 加 - # 减 * # 乘 / # 除以 ** # 幂运算 % # 取余数 // # 取商 #### ...

  2. python开发基础(二)运算符以及数据类型之bool(布尔值))

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  3. python开发基础(二)运算符以及数据类型之tuple(元组)

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  4. python开发基础(二)运算符以及数据类型之float(浮点类型)

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  5. python开发基础(二)运算符以及数据类型之list(列表)

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  6. python开发基础(二)运算符以及数据类型之str(字符串)

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  7. python开发基础(二)运算符以及数据类型之int(数字)

    # encoding: utf-8 # module builtins # from (built-in) # by generator 1.147 """ Built- ...

  8. python开发基础(二)常用数据类型调用方法

    1 数字: int 2 3 int : 转换,将字符串转化成数字 4 num1 = '123' 5 num2 = int (a) 6 numadd = num2 +1000 7 print(num2) ...

  9. Python开发(二):列表、字典、元组与文件处理

    Python开发(二):列表.字典.元组与文件处理 一:列表二:元组三:字典四:文件处理 一:列表   为什么需要列表 可以通过列表可以对数据实现最方便的存储.修改等操作.字符串是不能修改的,所以无法 ...

随机推荐

  1. Layman 解决MUI 软键盘弹起挤压页面问题

    问题:在使用mui和H5+进行移动端开发的时候,经常会遇见需要用户输入的情况 当input获取焦点弹起软键盘的时候,经常会遇见软键盘挤压页面.软键盘遮挡输入框等一系列问题: 原因:造成这种现象的原因是 ...

  2. python单元测试框架pytest

    首先祝大家国庆节日快乐,这个假期因为我老婆要考注会,我也跟着天天去图书馆学了几天,学习的感觉还是非常不错的,这是一篇总结. 这篇博客准备讲解一下pytest测试框架,这个框架是当前最流行的python ...

  3. Typore的简单用法

    1 无序列表使用方法 +号和空格一起按就可以写出这个点 2 有序列表使用方法 .先写1.然后打个空格就再回车 3 使用#和空格表示一级标题 一级标题 4 使用##和空格表示二级标题 5 二级标题 6 ...

  4. 九、Python+Selenium模拟登录

    研究QQ登录规则的话,得分析大量Javascript的加密解密,比较耗时间.自己也是练习很少,短时间成功不了.所以走了个捷径. Selenium是一个WEB自动化测试工具,它运行时会直接实例化出一个浏 ...

  5. DX12龙书 01 - 向量在几何学和数学中的表示以及运算定义

    0x00 向量 向量 ( vector ) 是一种兼具大小 ( magnitude ) 和方向的量. 0x01 几何表示 几何方法中用一条有向线段来表示一个向量,其中,线段长度代表向量的模,箭头的指向 ...

  6. VUE 安装项目

    注意:在cmd中执行的命令 1,前提是安装了node.js 查看 npm 版本号 2,创建项目路径 mkdir vue cd vue 3,安装vue-cli (脚手架) npm install -个v ...

  7. ubuntu20 使用命令安装 mongodb

    安装 mongodb sudo apt-get install mongodb -y mongodb 服务管理 # 启动 mongodb 服务 service mongodb start # 关闭 m ...

  8. linux系统上用户态pppoe收发包过程

    花了几天看了一下ppp/pppoe有关的东西,画了一下用户态pppoe收发包的示意图.

  9. Pythonic【15个代码示例】

    Python由于语言的简洁性,让我们以人类思考的方式来写代码,新手更容易上手,老鸟更爱不释手. 要写出 Pythonic(优雅的.地道的.整洁的)代码,还要平时多观察那些大牛代码,Github 上有很 ...

  10. 飞翔---------双重线性dp

    题目: 鹰最骄傲的就是翱翔,但是鹰们互相都很嫉妒别的鹰比自己飞的快,更嫉妒其他的鹰比自己飞行的有技巧.于是,他们决定举办一场比赛,比赛的地方将在一个迷宫之中. 这些鹰的起始点被设在一个N*M矩阵的左下 ...