mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
This commit is contained in:
parent
e85ee8d815
commit
d68f5171eb
7 changed files with 48 additions and 16 deletions
|
@ -2453,25 +2453,26 @@ standard module \module{__builtin__}\refbimodindex{__builtin__}:
|
|||
>>> dir(__builtin__)
|
||||
['ArithmeticError', 'AssertionError', 'AttributeError',
|
||||
'DeprecationWarning', 'EOFError', 'Ellipsis', 'EnvironmentError',
|
||||
'Exception', 'FloatingPointError', 'IOError', 'ImportError',
|
||||
'Exception', 'False', 'FloatingPointError', 'IOError', 'ImportError',
|
||||
'IndentationError', 'IndexError', 'KeyError', 'KeyboardInterrupt',
|
||||
'LookupError', 'MemoryError', 'NameError', 'None', 'NotImplemented',
|
||||
'NotImplementedError', 'OSError', 'OverflowError', 'OverflowWarning',
|
||||
'ReferenceError', 'RuntimeError', 'RuntimeWarning', 'StandardError',
|
||||
'StopIteration', 'SyntaxError', 'SyntaxWarning', 'SystemError',
|
||||
'SystemExit', 'TabError', 'TypeError', 'UnboundLocalError',
|
||||
'UnicodeError', 'UserWarning', 'ValueError', 'Warning',
|
||||
'ZeroDivisionError', '_', '__debug__', '__doc__', '__import__',
|
||||
'__name__', 'abs', 'apply', 'buffer', 'callable', 'chr', 'classmethod',
|
||||
'cmp', 'coerce', 'compile', 'complex', 'copyright', 'credits', 'delattr',
|
||||
'dict', 'dir', 'divmod', 'eval', 'execfile', 'exit', 'file', 'filter',
|
||||
'float', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'hex', 'id',
|
||||
'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter', 'len',
|
||||
'license', 'list', 'locals', 'long', 'map', 'max', 'min', 'object',
|
||||
'oct', 'open', 'ord', 'pow', 'property', 'quit', 'range', 'raw_input',
|
||||
'reduce', 'reload', 'repr', 'round', 'setattr', 'slice', 'staticmethod',
|
||||
'str', 'super', 'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange',
|
||||
'zip']
|
||||
'PendingDeprecationWarning', 'ReferenceError',
|
||||
'RuntimeError', 'RuntimeWarning', 'StandardError', 'StopIteration',
|
||||
'SyntaxError', 'SyntaxWarning', 'SystemError', 'SystemExit', 'TabError',
|
||||
'True', 'TypeError', 'UnboundLocalError', 'UnicodeError', 'UserWarning',
|
||||
'ValueError', 'Warning', 'ZeroDivisionError', '__debug__', '__doc__',
|
||||
'__import__', '__name__', 'abs', 'apply', 'bool', 'buffer',
|
||||
'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex',
|
||||
'copyright', 'credits', 'delattr', 'dict', 'dir', 'divmod',
|
||||
'enumerate', 'eval', 'execfile', 'exit', 'file', 'filter', 'float',
|
||||
'getattr', 'globals', 'hasattr', 'hash', 'help', 'hex', 'id',
|
||||
'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter',
|
||||
'len', 'license', 'list', 'locals', 'long', 'map', 'max', 'min',
|
||||
'object', 'oct', 'open', 'ord', 'pow', 'property', 'quit',
|
||||
'range', 'raw_input', 'reduce', 'reload', 'repr', 'round',
|
||||
'setattr', 'slice', 'staticmethod', 'str', 'string', 'super',
|
||||
'tuple', 'type', 'unichr', 'unicode', 'vars', 'xrange', 'zip']
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue