contents
- Introduction
syntax (needs refactoring): lexical-analysis tokens identifiers keywords reserved-identifier-classes literals numeric-literals string-literals delimiter-tokens syntax-expression syntax-atom syntax-primary syntax-statement simple-statements expression-statements compound-statements syntax-suite programs
behaviour (needs refactoring): objects naming-and-binding exceptions new-style-and-classic-classes context-managers descriptors invoking-descriptors
expressions (needs refactoring): expressions expression-lists parenthesized-forms attribute-references subscriptions slicings calls list-displays dictionary-displays generator-expressions string-conversions evaluation-order operators operator-add operator-and operator-div operator-if operator-invert operator-lshift operator-mod operator-mul operator-neg operator-not operator-or operator-pos operator-pow operator-rshift operator-sub operator-xor comparisons coercion-rules
statements: assert assignments break class continue def del elif else except exec finally for from future global if import lambda pass print raise return try while with yield
types: types interface-descriptors interface-iterators interface-mappings interface-numbers interface-sequences type-bool type-builtin-function type-callable type-class type-classmethod type-code type-complex type-dict type-ellipsis type-file type-float type-frame type-function type-generator type-instance type-int type-list type-long type-method type-module type-none type-notimplemented type-slice type-staticmethod type-str type-traceback type-tuple type-type type-unicode
functions: abs apply basestring bool buffer callable chr classmethod cmp coerce compile complex delattr dict dir divmod enumerate eval execfile file filter float frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len list locals long map max min object oct open ord pow property range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip
exceptions and warnings: ArithmeticError AssertionError AttributeError DeprecationWarning EOFError EnvironmentError Exception FloatingPointError FutureWarning IOError ImportError IndexError KeyError KeyboardInterrupt LookupError MemoryError NameError NotImplementedError OSError OverflowError PendingDeprecationWarning ReferenceError RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UserWarning ValueError Warning WindowsError ZeroDivisionError
special methods, attributes, and variables: special-method-names emulating-container-types __abs__ __add__ __and__ __bases__ __call__ __class__ __cmp__ __coerce__ __complex__ __contains__ __context__ __debug__ __del__ __delattr__ __delete__ __delitem__ __delslice__ __dict__ __div__ __divmod__ __doc__ __enter__ __eq__ __exit__ __float__ __floordiv__ __ge__ __get__ __getattr__ __getattribute__ __getitem__ __getslice__ __gt__ __hash__ __hex__ __iadd__ __iand__ __idiv__ __ifloordiv__ __ilshift__ __imod__ __imul__ __index__ __init__ __int__ __invert__ __ior__ __ipow__ __irshift__ __isub__ __iter__ __itruediv__ __ixor__ __le__ __len__ __long__ __lshift__ __lt__ __metaclass__ __module__ __mod__ __mul__ __name__ __ne__ __neg__ __new__ __nonzero__ __oct__ __or__ __pos__ __pow__ __radd__ __rand__ __rcmp__ __rdiv__ __rdivmod__ __repr__ __rfloordiv__ __rlshift__ __rmod__ __rmul__ __ror__ __rpow__ __rrshift__ __rshift__ __rsub__ __rtruediv__ __rxor__ __set__ __setattr__ __setitem__ __setslice__ __slots__ __str__ __sub__ __truediv__ __unicode__ __xor__
not yet sorted: Ellipsis False None NotImplemented Queue.Empty True and as contextlib.contextfactory in is is not next not not in or sys type-string with-alt with_statement with-guard operator-binary operator-bitwise operator-boolean operator-power operator-shift operator-tokens operator-unary
