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

python2内置属性的更多相关文章

  1. javascript内置属性——arguments

    arguments是javascript中的内置属性,可以直接调用函数的参数,作用类似Array,但本身并不是数组.这次发现它是为了实现封装函数,将不确定数量的数字乘积.比如function mult ...

  2. Ant 脚本打印系统属性变量、ant内置属性

    Ant 脚本打印系统属性变量.ant内置属性 作用 编写ant脚本的时候,经常会引用到系统属性,本脚本用于打印系统常用属性(System.getProperties)与环境变量(Environment ...

  3. JavaScript学习——内置属性

    在js中,几乎所有的对象都是同源对象,都继承Object对象.对象的内置属性指的是它们作为Object实例所具有的属性,这些属性通常反映对象本身的基本信息和数据无关.因此我们称它们为元属性.这些属性通 ...

  4. 对象的内置属性和js的对象之父Object()

    js中对象有constructor,valueOf(),toString()等内置属性和方法; 创建一个空对象的方法: var o = {}; 或者 var o= new Object(); o.co ...

  5. Maven内置属性

    1.内置属性:如${project.basedir}表示项目根目录,${ project.version}表示项目版本 2.POM属性:用户可以引用pom文件中对应的值.如: ${project.bu ...

  6. Maven内置属性、POM属性

    1.内置属性(Maven预定义,用户可以直接使用) ${basedir}表示项目根目录,即包含pom.xml文件的目录; ${version}表示项目版本; ${project.basedir}同${ ...

  7. python的反射函数(hasattr()、getattr()、setattr()与delattr())和类的内置属性attr(__getattr()__、__setattr()__与__delattr()__)

    主要是指程序可以访问.检测和修改它本身状态或行为的一种能力(自省),有四个可以实现自省函数. hasattr(object,name) 判断object中是否有name字符串对应的属性或方法,返回Tr ...

  8. Maven内置属性,pom属性

    内置属性(Maven预定义,用户可以直接使用) ${basedir}表示项目根目录,即包含pom.xml文件的目录; ${version}表示项目版本; ${project.basedir}同${ba ...

  9. Maven内置属性及使用

    Maven共有6类属性: 内置属性(Maven预定义,用户可以直接使用) ${basedir}表示项目根目录,即包含pom.xml文件的目录; ${version}表示项目版本; ${project. ...

随机推荐

  1. PHP——大话PHP设计模式——基本设计模式(工厂模式、单例模式、注册器模式)

  2. 1.php代码块

    一.登录 <form action="index.php?m=admin&c=index&a=login&dosubmit=1" method=&qu ...

  3. 2012Google校园招聘笔试题

    1.已知两个数字为1~30之间的数字,甲知道两数之和,乙知道两数之积,甲问乙:“你知道是哪两个数吗?”乙说:“不知道”.乙问甲:“你知道是哪两个数吗?”甲说:“也不知道”.于是,乙说:“那我知道了”, ...

  4. 动态规划--最长上升子序列(Longest increasing subsequence)

    前面写了最长公共子序列的问题.然后再加上自身对动态规划的理解,真到简单的DP问题很快就解决了.其实只要理解了动态规划的本质,那么再有针对性的去做这方的题目,思路很快就会有了.不错不错~加油 题目描述: ...

  5. Sword pcre库函数学习二

    9.pcre_free_substring_list 原型: #include <pcre.h> void pcre_free_substring_list(const char **st ...

  6. Qt中QString::toStdString().c_str() 偶尔存在问题

    假设 QString str = "string"; const char* c = str.toStdString().c_str()单步调试显示的结果可能会是'\0' 而当我这 ...

  7. 解决jar包乱码 in 创新实训 智能自然语言交流系统

    今天用eclipse的fat jar插件,打成jar包.之后再命令行运行...程序的功能是切分大的文件...结果是切分的很正确,但是里面的中文都变成了乱码. 最开始以为是在Eclipse中的编码设置有 ...

  8. 在C++中调用DLL中的函数(2)

    本文转自:http://blog.sina.com.cn/s/blog_53004b4901009h3b.html 应用程序使用DLL可以采用两种方式: 一种是隐式链接,另一种是显式链接.在使用DLL ...

  9. github开源库(三)

    41.android-swipelistview SwipeListView是一个Android List View实现,实现了自定义ListView单元格,可通过滑动来显示扩展面板.开发者可直接登陆 ...

  10. 关于Unity中RectTransform和Transform

    以前一直以为在Inspector面板上的是Transform,后来才发现原来2D是RectTransform,3D是Transform 3D面板上显示的是位置坐标组件Transform,2D面板上显示 ...