| no longer supported | https://devguide.python.org/devcycle/#end-of-life-branches |
| Python documentation for the current stable release | https://docs.python.org/3/library/stdtypes.html |
| index | https://docs.python.org/2/genindex.html |
| modules | https://docs.python.org/2/py-modindex.html |
| next | https://docs.python.org/2/library/exceptions.html |
| previous | https://docs.python.org/2/library/constants.html |
| Python | https://www.python.org/ |
| Python 2.7.18 documentation | https://docs.python.org/2/index.html |
| The Python Standard Library | https://docs.python.org/2/library/index.html |
| ¶ | https://docs.python.org/2/library/stdtypes.html#built-in-types |
| repr() | https://docs.python.org/2/library/functions.html#func-repr |
| str() | https://docs.python.org/2/library/functions.html#str |
| print() | https://docs.python.org/2/library/functions.html#print |
| ¶ | https://docs.python.org/2/library/stdtypes.html#truth-value-testing |
| if | https://docs.python.org/2/reference/compound_stmts.html#if |
| while | https://docs.python.org/2/reference/compound_stmts.html#while |
| __nonzero__() | https://docs.python.org/2/reference/datamodel.html#object.__nonzero__ |
| __len__() | https://docs.python.org/2/reference/datamodel.html#object.__len__ |
| bool | https://docs.python.org/2/library/functions.html#bool |
| 1 | https://docs.python.org/2/library/stdtypes.html#id12 |
| and | https://docs.python.org/2/reference/expressions.html#and |
| or | https://docs.python.org/2/reference/expressions.html#or |
| not | https://docs.python.org/2/reference/expressions.html#not |
| ¶ | https://docs.python.org/2/library/stdtypes.html#boolean-operations-and-or-not |
| ¶ | https://docs.python.org/2/library/stdtypes.html#comparisons |
| TypeError | https://docs.python.org/2/library/exceptions.html#exceptions.TypeError |
| __eq__() | https://docs.python.org/2/reference/datamodel.html#object.__eq__ |
| __cmp__() | https://docs.python.org/2/reference/datamodel.html#object.__cmp__ |
| __lt__() | https://docs.python.org/2/reference/datamodel.html#object.__lt__ |
| __le__() | https://docs.python.org/2/reference/datamodel.html#object.__le__ |
| __gt__() | https://docs.python.org/2/reference/datamodel.html#object.__gt__ |
| __ge__() | https://docs.python.org/2/reference/datamodel.html#object.__ge__ |
| __cmp__() | https://docs.python.org/2/reference/datamodel.html#object.__cmp__ |
| int | https://docs.python.org/2/library/functions.html#int |
| float | https://docs.python.org/2/library/functions.html#float |
| long | https://docs.python.org/2/library/functions.html#long |
| complex | https://docs.python.org/2/library/functions.html#complex |
| ¶ | https://docs.python.org/2/library/stdtypes.html#numeric-types-int-float-long-complex |
| sys.float_info | https://docs.python.org/2/library/sys.html#sys.float_info |
| fractions | https://docs.python.org/2/library/fractions.html#module-fractions |
| decimal | https://docs.python.org/2/library/decimal.html#module-decimal |
| 2 | https://docs.python.org/2/library/stdtypes.html#id13 |
| int() | https://docs.python.org/2/library/functions.html#int |
| long() | https://docs.python.org/2/library/functions.html#long |
| float() | https://docs.python.org/2/library/functions.html#float |
| complex() | https://docs.python.org/2/library/functions.html#complex |
| The power operator | https://docs.python.org/2/reference/expressions.html#power |
| int() | https://docs.python.org/2/library/functions.html#int |
| long() | https://docs.python.org/2/library/functions.html#long |
| math.trunc() | https://docs.python.org/2/library/math.html#math.trunc |
| math.floor() | https://docs.python.org/2/library/math.html#math.floor |
| math.ceil() | https://docs.python.org/2/library/math.html#math.ceil |
| Built-in Functions | https://docs.python.org/2/library/functions.html#built-in-funcs |
| divmod() | https://docs.python.org/2/library/functions.html#divmod |
| abs() | https://docs.python.org/2/library/functions.html#abs |
| numbers.Real | https://docs.python.org/2/library/numbers.html#numbers.Real |
| int | https://docs.python.org/2/library/functions.html#int |
| long | https://docs.python.org/2/library/functions.html#long |
| float | https://docs.python.org/2/library/functions.html#float |
| math.trunc(x) | https://docs.python.org/2/library/math.html#math.trunc |
| Integral | https://docs.python.org/2/library/numbers.html#numbers.Integral |
| round(x[,
n]) | https://docs.python.org/2/library/functions.html#round |
| math.floor(x) | https://docs.python.org/2/library/math.html#math.floor |
| math.ceil(x) | https://docs.python.org/2/library/math.html#math.ceil |
| ¶ | https://docs.python.org/2/library/stdtypes.html#bitwise-operations-on-integer-types |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#additional-methods-on-integer-types |
| numbers.Integral | https://docs.python.org/2/library/numbers.html#numbers.Integral |
| abstract base
class | https://docs.python.org/2/glossary.html#term-abstract-base-class |
| ¶ | https://docs.python.org/2/library/stdtypes.html#int.bit_length |
| ¶ | https://docs.python.org/2/library/stdtypes.html#long.bit_length |
| ¶ | https://docs.python.org/2/library/stdtypes.html#additional-methods-on-float |
| numbers.Real | https://docs.python.org/2/library/numbers.html#numbers.Real |
| abstract base
class | https://docs.python.org/2/glossary.html#term-abstract-base-class |
| ¶ | https://docs.python.org/2/library/stdtypes.html#float.as_integer_ratio |
| OverflowError | https://docs.python.org/2/library/exceptions.html#exceptions.OverflowError |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#float.is_integer |
| ¶ | https://docs.python.org/2/library/stdtypes.html#float.hex |
| ¶ | https://docs.python.org/2/library/stdtypes.html#float.fromhex |
| float.hex() | https://docs.python.org/2/library/stdtypes.html#float.hex |
| float.fromhex() | https://docs.python.org/2/library/stdtypes.html#float.fromhex |
| float.hex() | https://docs.python.org/2/library/stdtypes.html#float.hex |
| float.fromhex() | https://docs.python.org/2/library/stdtypes.html#float.fromhex |
| ¶ | https://docs.python.org/2/library/stdtypes.html#iterator-types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#container.__iter__ |
| tp_iter | https://docs.python.org/2/c-api/typeobj.html#c.PyTypeObject.tp_iter |
| ¶ | https://docs.python.org/2/library/stdtypes.html#iterator.__iter__ |
| for | https://docs.python.org/2/reference/compound_stmts.html#for |
| in | https://docs.python.org/2/reference/expressions.html#in |
| tp_iter | https://docs.python.org/2/c-api/typeobj.html#c.PyTypeObject.tp_iter |
| ¶ | https://docs.python.org/2/library/stdtypes.html#iterator.next |
| StopIteration | https://docs.python.org/2/library/exceptions.html#exceptions.StopIteration |
| tp_iternext | https://docs.python.org/2/c-api/typeobj.html#c.PyTypeObject.tp_iternext |
| next() | https://docs.python.org/2/library/stdtypes.html#iterator.next |
| StopIteration | https://docs.python.org/2/library/exceptions.html#exceptions.StopIteration |
| ¶ | https://docs.python.org/2/library/stdtypes.html#generator-types |
| generator | https://docs.python.org/2/glossary.html#term-generator |
| __iter__() | https://docs.python.org/2/reference/datamodel.html#object.__iter__ |
| __iter__() | https://docs.python.org/2/library/stdtypes.html#iterator.__iter__ |
| next() | https://docs.python.org/2/library/stdtypes.html#iterator.next |
| the documentation for the yield expression | https://docs.python.org/2/reference/expressions.html#yieldexpr |
| str | https://docs.python.org/2/library/functions.html#str |
| unicode | https://docs.python.org/2/library/functions.html#unicode |
| tuple | https://docs.python.org/2/library/functions.html#tuple |
| bytearray | https://docs.python.org/2/library/functions.html#bytearray |
| buffer | https://docs.python.org/2/library/functions.html#buffer |
| xrange | https://docs.python.org/2/library/functions.html#xrange |
| ¶ | https://docs.python.org/2/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange |
| dict | https://docs.python.org/2/library/stdtypes.html#dict |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| collections | https://docs.python.org/2/library/collections.html#module-collections |
| String literals | https://docs.python.org/2/reference/lexical_analysis.html#strings |
| String Methods | https://docs.python.org/2/library/stdtypes.html#string-methods |
| bytearray() | https://docs.python.org/2/library/functions.html#bytearray |
| buffer() | https://docs.python.org/2/library/functions.html#buffer |
| xrange() | https://docs.python.org/2/library/functions.html#xrange |
| min() | https://docs.python.org/2/library/functions.html#min |
| max() | https://docs.python.org/2/library/functions.html#max |
| 3 | https://docs.python.org/2/library/stdtypes.html#id14 |
| Mutable Sequence Types | https://docs.python.org/2/library/stdtypes.html#typesseq-mutable |
| Comparisons | https://docs.python.org/2/reference/expressions.html#comparisons |
| How do I create a multidimensional list? | https://docs.python.org/2/faq/programming.html#faq-multidimensional-list |
| str.join() | https://docs.python.org/2/library/stdtypes.html#str.join |
| ¶ | https://docs.python.org/2/library/stdtypes.html#string-methods |
| bytearray | https://docs.python.org/2/library/functions.html#bytearray |
| Sequence Types — str, unicode, list, tuple, bytearray, buffer, xrange | https://docs.python.org/2/library/stdtypes.html#typesseq |
| String Formatting Operations | https://docs.python.org/2/library/stdtypes.html#string-formatting |
| re | https://docs.python.org/2/library/re.html#module-re |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.capitalize |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.center |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.count |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.decode |
| UnicodeError | https://docs.python.org/2/library/exceptions.html#exceptions.UnicodeError |
| codecs.register_error() | https://docs.python.org/2/library/codecs.html#codecs.register_error |
| Codec Base Classes | https://docs.python.org/2/library/codecs.html#codec-base-classes |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.encode |
| UnicodeError | https://docs.python.org/2/library/exceptions.html#exceptions.UnicodeError |
| codecs.register_error() | https://docs.python.org/2/library/codecs.html#codecs.register_error |
| Codec Base Classes | https://docs.python.org/2/library/codecs.html#codec-base-classes |
| Standard Encodings | https://docs.python.org/2/library/codecs.html#standard-encodings |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.endswith |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.expandtabs |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.find |
| find() | https://docs.python.org/2/library/stdtypes.html#str.find |
| in | https://docs.python.org/2/reference/expressions.html#in |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.format |
| Format String Syntax | https://docs.python.org/2/library/string.html#formatstrings |
| String Formatting Operations | https://docs.python.org/2/library/stdtypes.html#string-formatting |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.index |
| find() | https://docs.python.org/2/library/stdtypes.html#str.find |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.isalnum |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.isalpha |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.isdigit |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.islower |
| 4 | https://docs.python.org/2/library/stdtypes.html#id15 |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.isspace |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.istitle |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.isupper |
| 4 | https://docs.python.org/2/library/stdtypes.html#id15 |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.join |
| TypeError | https://docs.python.org/2/library/exceptions.html#exceptions.TypeError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.ljust |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.lower |
| 4 | https://docs.python.org/2/library/stdtypes.html#id15 |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.lstrip |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.partition |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.replace |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rfind |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rindex |
| rfind() | https://docs.python.org/2/library/stdtypes.html#str.rfind |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rjust |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rpartition |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rsplit |
| rsplit() | https://docs.python.org/2/library/stdtypes.html#str.rsplit |
| split() | https://docs.python.org/2/library/stdtypes.html#str.split |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.rstrip |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.split |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.splitlines |
| universal newlines | https://docs.python.org/2/glossary.html#term-universal-newlines |
| split() | https://docs.python.org/2/library/stdtypes.html#str.split |
| ¶ | https://docs.python.org/2/library/stdtypes.html#unicode.splitlines |
| str.splitlines() | https://docs.python.org/2/library/stdtypes.html#str.splitlines |
| universal newlines | https://docs.python.org/2/glossary.html#term-universal-newlines |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.startswith |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.strip |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.swapcase |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.title |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.translate |
| maketrans() | https://docs.python.org/2/library/string.html#string.maketrans |
| string | https://docs.python.org/2/library/string.html#module-string |
| translate() | https://docs.python.org/2/library/stdtypes.html#str.translate |
| codecs | https://docs.python.org/2/library/codecs.html#module-codecs |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.upper |
| 4 | https://docs.python.org/2/library/stdtypes.html#id15 |
| ¶ | https://docs.python.org/2/library/stdtypes.html#str.zfill |
| ¶ | https://docs.python.org/2/library/stdtypes.html#unicode.isnumeric |
| ¶ | https://docs.python.org/2/library/stdtypes.html#unicode.isdecimal |
| ¶ | https://docs.python.org/2/library/stdtypes.html#string-formatting-operations |
| 5 | https://docs.python.org/2/library/stdtypes.html#id16 |
| repr() | https://docs.python.org/2/library/functions.html#func-repr |
| str() | https://docs.python.org/2/library/functions.html#str |
| unicode | https://docs.python.org/2/library/functions.html#unicode |
| unicode | https://docs.python.org/2/library/functions.html#unicode |
| PEP 237 | https://www.python.org/dev/peps/pep-0237 |
| string | https://docs.python.org/2/library/string.html#module-string |
| re | https://docs.python.org/2/library/re.html#module-re |
| ¶ | https://docs.python.org/2/library/stdtypes.html#xrange-type |
| xrange | https://docs.python.org/2/library/functions.html#xrange |
| xrange | https://docs.python.org/2/library/functions.html#xrange |
| xrange | https://docs.python.org/2/library/functions.html#xrange |
| len() | https://docs.python.org/2/library/functions.html#len |
| ¶ | https://docs.python.org/2/library/stdtypes.html#mutable-sequence-types |
| bytearray | https://docs.python.org/2/library/functions.html#bytearray |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| functools.cmp_to_key() | https://docs.python.org/2/library/functools.html#functools.cmp_to_key |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| __index__() | https://docs.python.org/2/reference/datamodel.html#object.__index__ |
| Sequence Types — str, unicode, list, tuple, bytearray, buffer, xrange | https://docs.python.org/2/library/stdtypes.html#typesseq |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| ¶ | https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| dict | https://docs.python.org/2/library/stdtypes.html#dict |
| tuple | https://docs.python.org/2/library/functions.html#tuple |
| collections | https://docs.python.org/2/library/collections.html#module-collections |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| ¶ | https://docs.python.org/2/library/stdtypes.html#set |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.isdisjoint |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.issubset |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.issuperset |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.union |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.intersection |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.difference |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.symmetric_difference |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.copy |
| union() | https://docs.python.org/2/library/stdtypes.html#frozenset.union |
| intersection() | https://docs.python.org/2/library/stdtypes.html#frozenset.intersection |
| difference() | https://docs.python.org/2/library/stdtypes.html#frozenset.difference |
| symmetric_difference() | https://docs.python.org/2/library/stdtypes.html#frozenset.symmetric_difference |
| issubset() | https://docs.python.org/2/library/stdtypes.html#frozenset.issubset |
| issuperset() | https://docs.python.org/2/library/stdtypes.html#frozenset.issuperset |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| __cmp__() | https://docs.python.org/2/reference/datamodel.html#object.__cmp__ |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| frozenset | https://docs.python.org/2/library/stdtypes.html#frozenset |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.update |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.intersection_update |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.difference_update |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.symmetric_difference_update |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.add |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.remove |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.discard |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.pop |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#frozenset.clear |
| update() | https://docs.python.org/2/library/stdtypes.html#frozenset.update |
| intersection_update() | https://docs.python.org/2/library/stdtypes.html#frozenset.intersection_update |
| difference_update() | https://docs.python.org/2/library/stdtypes.html#frozenset.difference_update |
| symmetric_difference_update() | https://docs.python.org/2/library/stdtypes.html#frozenset.symmetric_difference_update |
| __contains__() | https://docs.python.org/2/reference/datamodel.html#object.__contains__ |
| remove() | https://docs.python.org/2/library/stdtypes.html#frozenset.remove |
| discard() | https://docs.python.org/2/library/stdtypes.html#frozenset.discard |
| Comparison to the built-in set types | https://docs.python.org/2/library/sets.html#comparison-to-builtin-set |
| sets | https://docs.python.org/2/library/sets.html#module-sets |
| dict | https://docs.python.org/2/library/stdtypes.html#dict |
| ¶ | https://docs.python.org/2/library/stdtypes.html#mapping-types-dict |
| mapping | https://docs.python.org/2/glossary.html#term-mapping |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| set | https://docs.python.org/2/library/stdtypes.html#set |
| tuple | https://docs.python.org/2/library/functions.html#tuple |
| collections | https://docs.python.org/2/library/collections.html#module-collections |
| hashable | https://docs.python.org/2/glossary.html#term-hashable |
| dict | https://docs.python.org/2/library/stdtypes.html#dict |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict |
| iterable | https://docs.python.org/2/glossary.html#term-iterable |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| __missing__() | https://docs.python.org/2/reference/datamodel.html#object.__missing__ |
| __missing__() | https://docs.python.org/2/reference/datamodel.html#object.__missing__ |
| __missing__() | https://docs.python.org/2/reference/datamodel.html#object.__missing__ |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| __missing__() | https://docs.python.org/2/reference/datamodel.html#object.__missing__ |
| collections.Counter | https://docs.python.org/2/library/collections.html#collections.Counter |
| collections.defaultdict | https://docs.python.org/2/library/collections.html#collections.defaultdict |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| iterkeys() | https://docs.python.org/2/library/stdtypes.html#dict.iterkeys |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.clear |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.copy |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.fromkeys |
| fromkeys() | https://docs.python.org/2/library/stdtypes.html#dict.fromkeys |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.get |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.has_key |
| has_key() | https://docs.python.org/2/library/stdtypes.html#dict.has_key |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.items |
| items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| keys() | https://docs.python.org/2/library/stdtypes.html#dict.keys |
| values() | https://docs.python.org/2/library/stdtypes.html#dict.values |
| iteritems() | https://docs.python.org/2/library/stdtypes.html#dict.iteritems |
| iterkeys() | https://docs.python.org/2/library/stdtypes.html#dict.iterkeys |
| itervalues() | https://docs.python.org/2/library/stdtypes.html#dict.itervalues |
| zip() | https://docs.python.org/2/library/functions.html#zip |
| iterkeys() | https://docs.python.org/2/library/stdtypes.html#dict.iterkeys |
| itervalues() | https://docs.python.org/2/library/stdtypes.html#dict.itervalues |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.iteritems |
| dict.items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| iteritems() | https://docs.python.org/2/library/stdtypes.html#dict.iteritems |
| RuntimeError | https://docs.python.org/2/library/exceptions.html#exceptions.RuntimeError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.iterkeys |
| dict.items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| iterkeys() | https://docs.python.org/2/library/stdtypes.html#dict.iterkeys |
| RuntimeError | https://docs.python.org/2/library/exceptions.html#exceptions.RuntimeError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.itervalues |
| dict.items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| itervalues() | https://docs.python.org/2/library/stdtypes.html#dict.itervalues |
| RuntimeError | https://docs.python.org/2/library/exceptions.html#exceptions.RuntimeError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.keys |
| dict.items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.pop |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.popitem |
| popitem() | https://docs.python.org/2/library/stdtypes.html#dict.popitem |
| popitem() | https://docs.python.org/2/library/stdtypes.html#dict.popitem |
| KeyError | https://docs.python.org/2/library/exceptions.html#exceptions.KeyError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.setdefault |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.update |
| update() | https://docs.python.org/2/library/stdtypes.html#dict.update |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.values |
| dict.items() | https://docs.python.org/2/library/stdtypes.html#dict.items |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.viewitems |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.viewkeys |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dict.viewvalues |
| ¶ | https://docs.python.org/2/library/stdtypes.html#dictionary-view-objects |
| dict.viewkeys() | https://docs.python.org/2/library/stdtypes.html#dict.viewkeys |
| dict.viewvalues() | https://docs.python.org/2/library/stdtypes.html#dict.viewvalues |
| dict.viewitems() | https://docs.python.org/2/library/stdtypes.html#dict.viewitems |
| zip() | https://docs.python.org/2/library/functions.html#zip |
| RuntimeError | https://docs.python.org/2/library/exceptions.html#exceptions.RuntimeError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file-objects |
| open() | https://docs.python.org/2/library/functions.html#open |
| os.popen() | https://docs.python.org/2/library/os.html#os.popen |
| os.fdopen() | https://docs.python.org/2/library/os.html#os.fdopen |
| tempfile | https://docs.python.org/2/library/tempfile.html#module-tempfile |
| shutil | https://docs.python.org/2/library/shutil.html#module-shutil |
| IOError | https://docs.python.org/2/library/exceptions.html#exceptions.IOError |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.close |
| ValueError | https://docs.python.org/2/library/exceptions.html#exceptions.ValueError |
| close() | https://docs.python.org/2/library/stdtypes.html#file.close |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| contextlib.closing() | https://docs.python.org/2/library/contextlib.html#contextlib.closing |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.flush |
| flush() | https://docs.python.org/2/library/stdtypes.html#file.flush |
| flush() | https://docs.python.org/2/library/stdtypes.html#file.flush |
| os.fsync() | https://docs.python.org/2/library/os.html#os.fsync |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.fileno |
| fcntl | https://docs.python.org/2/library/fcntl.html#module-fcntl |
| os.read() | https://docs.python.org/2/library/os.html#os.read |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.isatty |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.next |
| for | https://docs.python.org/2/reference/compound_stmts.html#for |
| next() | https://docs.python.org/2/library/stdtypes.html#file.next |
| StopIteration | https://docs.python.org/2/library/exceptions.html#exceptions.StopIteration |
| for | https://docs.python.org/2/reference/compound_stmts.html#for |
| next() | https://docs.python.org/2/library/stdtypes.html#file.next |
| next() | https://docs.python.org/2/library/stdtypes.html#file.next |
| readline() | https://docs.python.org/2/library/stdtypes.html#file.readline |
| seek() | https://docs.python.org/2/library/stdtypes.html#file.seek |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.read |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.readline |
| 6 | https://docs.python.org/2/library/stdtypes.html#id17 |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.readlines |
| readline() | https://docs.python.org/2/library/stdtypes.html#file.readline |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.xreadlines |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.seek |
| seek() | https://docs.python.org/2/library/stdtypes.html#file.seek |
| tell() | https://docs.python.org/2/library/stdtypes.html#file.tell |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.tell |
| tell() | https://docs.python.org/2/library/stdtypes.html#file.tell |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.truncate |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.write |
| flush() | https://docs.python.org/2/library/stdtypes.html#file.flush |
| close() | https://docs.python.org/2/library/stdtypes.html#file.close |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.writelines |
| readlines() | https://docs.python.org/2/library/stdtypes.html#file.readlines |
| writelines() | https://docs.python.org/2/library/stdtypes.html#file.writelines |
| readline() | https://docs.python.org/2/library/stdtypes.html#file.readline |
| readline() | https://docs.python.org/2/library/stdtypes.html#file.readline |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.closed |
| close() | https://docs.python.org/2/library/stdtypes.html#file.close |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.encoding |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.errors |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.mode |
| open() | https://docs.python.org/2/library/functions.html#open |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.name |
| open() | https://docs.python.org/2/library/functions.html#open |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.newlines |
| universal newlines | https://docs.python.org/2/glossary.html#term-universal-newlines |
| ¶ | https://docs.python.org/2/library/stdtypes.html#file.softspace |
| print | https://docs.python.org/2/reference/simple_stmts.html#print |
| softspace | https://docs.python.org/2/library/stdtypes.html#file.softspace |
| softspace | https://docs.python.org/2/library/stdtypes.html#file.softspace |
| print | https://docs.python.org/2/reference/simple_stmts.html#print |
| print | https://docs.python.org/2/reference/simple_stmts.html#print |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview-type |
| memoryview | https://docs.python.org/2/library/stdtypes.html#memoryview |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview |
| memoryview | https://docs.python.org/2/library/stdtypes.html#memoryview |
| str | https://docs.python.org/2/library/functions.html#str |
| bytearray | https://docs.python.org/2/library/functions.html#bytearray |
| unicode | https://docs.python.org/2/library/functions.html#unicode |
| memoryview | https://docs.python.org/2/library/stdtypes.html#memoryview |
| str | https://docs.python.org/2/library/functions.html#str |
| bytearray | https://docs.python.org/2/library/functions.html#bytearray |
| itemsize | https://docs.python.org/2/library/stdtypes.html#memoryview.itemsize |
| memoryview | https://docs.python.org/2/library/stdtypes.html#memoryview |
| str | https://docs.python.org/2/library/functions.html#str |
| memoryview | https://docs.python.org/2/library/stdtypes.html#memoryview |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.tobytes |
| str | https://docs.python.org/2/library/functions.html#str |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.tolist |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.format |
| struct | https://docs.python.org/2/library/struct.html#module-struct |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.itemsize |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.shape |
| ndim | https://docs.python.org/2/library/stdtypes.html#memoryview.ndim |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.ndim |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.strides |
| ndim | https://docs.python.org/2/library/stdtypes.html#memoryview.ndim |
| ¶ | https://docs.python.org/2/library/stdtypes.html#memoryview.readonly |
| ¶ | https://docs.python.org/2/library/stdtypes.html#context-manager-types |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| ¶ | https://docs.python.org/2/library/stdtypes.html#contextmanager.__enter__ |
| as | https://docs.python.org/2/reference/compound_stmts.html#as |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| open() | https://docs.python.org/2/library/functions.html#open |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| decimal.localcontext() | https://docs.python.org/2/library/decimal.html#decimal.localcontext |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| ¶ | https://docs.python.org/2/library/stdtypes.html#contextmanager.__exit__ |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| with | https://docs.python.org/2/reference/compound_stmts.html#with |
| __exit__() | https://docs.python.org/2/library/stdtypes.html#contextmanager.__exit__ |
| contextlib | https://docs.python.org/2/library/contextlib.html#module-contextlib |
| generator | https://docs.python.org/2/glossary.html#term-generator |
| decorator | https://docs.python.org/2/glossary.html#term-decorator |
| __enter__() | https://docs.python.org/2/reference/datamodel.html#object.__enter__ |
| __exit__() | https://docs.python.org/2/reference/datamodel.html#object.__exit__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#other-built-in-types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#modules |
| import | https://docs.python.org/2/reference/simple_stmts.html#import |
| __dict__ | https://docs.python.org/2/library/stdtypes.html#object.__dict__ |
| __dict__ | https://docs.python.org/2/library/stdtypes.html#object.__dict__ |
| __dict__ | https://docs.python.org/2/library/stdtypes.html#object.__dict__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#classes-and-class-instances |
| Objects, values and types | https://docs.python.org/2/reference/datamodel.html#objects |
| Class definitions | https://docs.python.org/2/reference/compound_stmts.html#class |
| ¶ | https://docs.python.org/2/library/stdtypes.html#functions |
| Function definitions | https://docs.python.org/2/reference/compound_stmts.html#function |
| ¶ | https://docs.python.org/2/library/stdtypes.html#methods |
| TypeError | https://docs.python.org/2/library/exceptions.html#exceptions.TypeError |
| AttributeError | https://docs.python.org/2/library/exceptions.html#exceptions.AttributeError |
| The standard type hierarchy | https://docs.python.org/2/reference/datamodel.html#types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#code-objects |
| compile() | https://docs.python.org/2/library/functions.html#compile |
| code | https://docs.python.org/2/library/code.html#module-code |
| exec | https://docs.python.org/2/reference/simple_stmts.html#exec |
| eval() | https://docs.python.org/2/library/functions.html#eval |
| The standard type hierarchy | https://docs.python.org/2/reference/datamodel.html#types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#type-objects |
| type() | https://docs.python.org/2/library/functions.html#type |
| types | https://docs.python.org/2/library/types.html#module-types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#the-null-object |
| ¶ | https://docs.python.org/2/library/stdtypes.html#the-ellipsis-object |
| Slicings | https://docs.python.org/2/reference/expressions.html#slicings |
| Ellipsis | https://docs.python.org/2/library/constants.html#Ellipsis |
| ¶ | https://docs.python.org/2/library/stdtypes.html#the-notimplemented-object |
| Comparisons | https://docs.python.org/2/reference/expressions.html#comparisons |
| ¶ | https://docs.python.org/2/library/stdtypes.html#boolean-values |
| bool() | https://docs.python.org/2/library/functions.html#bool |
| Truth Value Testing | https://docs.python.org/2/library/stdtypes.html#truth |
| ¶ | https://docs.python.org/2/library/stdtypes.html#internal-objects |
| The standard type hierarchy | https://docs.python.org/2/reference/datamodel.html#types |
| ¶ | https://docs.python.org/2/library/stdtypes.html#special-attributes |
| dir() | https://docs.python.org/2/library/functions.html#dir |
| ¶ | https://docs.python.org/2/library/stdtypes.html#object.__dict__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#object.__methods__ |
| dir() | https://docs.python.org/2/library/functions.html#dir |
| ¶ | https://docs.python.org/2/library/stdtypes.html#object.__members__ |
| dir() | https://docs.python.org/2/library/functions.html#dir |
| ¶ | https://docs.python.org/2/library/stdtypes.html#instance.__class__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#class.__bases__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#definition.__name__ |
| new-style class | https://docs.python.org/2/glossary.html#term-new-style-class |
| ¶ | https://docs.python.org/2/library/stdtypes.html#class.__mro__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#class.mro |
| __mro__ | https://docs.python.org/2/library/stdtypes.html#class.__mro__ |
| ¶ | https://docs.python.org/2/library/stdtypes.html#class.__subclasses__ |
| 1 | https://docs.python.org/2/library/stdtypes.html#id1 |
| Basic customization | https://docs.python.org/2/reference/datamodel.html#customization |
| 2 | https://docs.python.org/2/library/stdtypes.html#id2 |
| 3 | https://docs.python.org/2/library/stdtypes.html#id4 |
| 1 | https://docs.python.org/2/library/stdtypes.html#id6 |
| 2 | https://docs.python.org/2/library/stdtypes.html#id7 |
| 3 | https://docs.python.org/2/library/stdtypes.html#id8 |
| 4 | https://docs.python.org/2/library/stdtypes.html#id9 |
| 5 | https://docs.python.org/2/library/stdtypes.html#id10 |
| 6 | https://docs.python.org/2/library/stdtypes.html#id11 |
| Table of Contents | https://docs.python.org/2/contents.html |
| 5. Built-in Types | https://docs.python.org/2/library/stdtypes.html |
| 5.1. Truth Value Testing | https://docs.python.org/2/library/stdtypes.html#truth-value-testing |
| 5.2. Boolean Operations — and, or, not | https://docs.python.org/2/library/stdtypes.html#boolean-operations-and-or-not |
| 5.3. Comparisons | https://docs.python.org/2/library/stdtypes.html#comparisons |
| 5.4. Numeric Types — int, float, long, complex | https://docs.python.org/2/library/stdtypes.html#numeric-types-int-float-long-complex |
| 5.4.1. Bitwise Operations on Integer Types | https://docs.python.org/2/library/stdtypes.html#bitwise-operations-on-integer-types |
| 5.4.2. Additional Methods on Integer Types | https://docs.python.org/2/library/stdtypes.html#additional-methods-on-integer-types |
| 5.4.3. Additional Methods on Float | https://docs.python.org/2/library/stdtypes.html#additional-methods-on-float |
| 5.5. Iterator Types | https://docs.python.org/2/library/stdtypes.html#iterator-types |
| 5.5.1. Generator Types | https://docs.python.org/2/library/stdtypes.html#generator-types |
| 5.6. Sequence Types — str, unicode, list, tuple, bytearray, buffer, xrange | https://docs.python.org/2/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange |
| 5.6.1. String Methods | https://docs.python.org/2/library/stdtypes.html#string-methods |
| 5.6.2. String Formatting Operations | https://docs.python.org/2/library/stdtypes.html#string-formatting-operations |
| 5.6.3. XRange Type | https://docs.python.org/2/library/stdtypes.html#xrange-type |
| 5.6.4. Mutable Sequence Types | https://docs.python.org/2/library/stdtypes.html#mutable-sequence-types |
| 5.7. Set Types — set, frozenset | https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset |
| 5.8. Mapping Types — dict | https://docs.python.org/2/library/stdtypes.html#mapping-types-dict |
| 5.8.1. Dictionary view objects | https://docs.python.org/2/library/stdtypes.html#dictionary-view-objects |
| 5.9. File Objects | https://docs.python.org/2/library/stdtypes.html#file-objects |
| 5.10. memoryview type | https://docs.python.org/2/library/stdtypes.html#memoryview-type |
| 5.11. Context Manager Types | https://docs.python.org/2/library/stdtypes.html#context-manager-types |
| 5.12. Other Built-in Types | https://docs.python.org/2/library/stdtypes.html#other-built-in-types |
| 5.12.1. Modules | https://docs.python.org/2/library/stdtypes.html#modules |
| 5.12.2. Classes and Class Instances | https://docs.python.org/2/library/stdtypes.html#classes-and-class-instances |
| 5.12.3. Functions | https://docs.python.org/2/library/stdtypes.html#functions |
| 5.12.4. Methods | https://docs.python.org/2/library/stdtypes.html#methods |
| 5.12.5. Code Objects | https://docs.python.org/2/library/stdtypes.html#code-objects |
| 5.12.6. Type Objects | https://docs.python.org/2/library/stdtypes.html#type-objects |
| 5.12.7. The Null Object | https://docs.python.org/2/library/stdtypes.html#the-null-object |
| 5.12.8. The Ellipsis Object | https://docs.python.org/2/library/stdtypes.html#the-ellipsis-object |
| 5.12.9. The NotImplemented Object | https://docs.python.org/2/library/stdtypes.html#the-notimplemented-object |
| 5.12.10. Boolean Values | https://docs.python.org/2/library/stdtypes.html#boolean-values |
| 5.12.11. Internal Objects | https://docs.python.org/2/library/stdtypes.html#internal-objects |
| 5.13. Special Attributes | https://docs.python.org/2/library/stdtypes.html#special-attributes |
| 4. Built-in Constants | https://docs.python.org/2/library/constants.html |
| 6. Built-in Exceptions | https://docs.python.org/2/library/exceptions.html |
| Show Source | https://docs.python.org/2/_sources/library/stdtypes.rst.txt |
| index | https://docs.python.org/2/genindex.html |
| modules | https://docs.python.org/2/py-modindex.html |
| next | https://docs.python.org/2/library/exceptions.html |
| previous | https://docs.python.org/2/library/constants.html |
| Python | https://www.python.org/ |
| Python 2.7.18 documentation | https://docs.python.org/2/index.html |
| The Python Standard Library | https://docs.python.org/2/library/index.html |
| Copyright | https://docs.python.org/2/copyright.html |
| Please donate. | https://www.python.org/psf/donations/ |
| Found a bug | https://docs.python.org/2/bugs.html |
| Sphinx | http://sphinx.pocoo.org/ |