diff options
author | Ned Deily <nad@python.org> | 2018-06-12 00:46:50 -0400 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-06-12 00:46:50 -0400 |
commit | dfad352267cee3ea581035622a7371bc3b235378 (patch) | |
tree | da56ad623ac93d420a65023c227e72dd09ab595d /Lib/pydoc_data/topics.py | |
parent | ef5f4ba96e05f61ad3baca502012085f31e99342 (diff) | |
download | cpython-git-3.7.0rc1.tar.gz |
3.7.0rc1v3.7.0rc1
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r-- | Lib/pydoc_data/topics.py | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 09016ac990..0c736f748f 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Wed May 30 19:43:20 2018 +# Autogenerated by Sphinx on Tue Jun 12 00:39:48 2018 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -11625,7 +11625,7 @@ topics = {'assert': 'The "assert" statement\n' ' When a class attribute reference (for class "C", say) would ' 'yield a\n' ' class method object, it is transformed into an instance method\n' - ' object whose "__self__" attributes is "C". When it would yield ' + ' object whose "__self__" attribute is "C". When it would yield ' 'a\n' ' static method object, it is transformed into the object wrapped ' 'by\n' @@ -12230,6 +12230,33 @@ topics = {'assert': 'The "assert" statement\n' 'raise\n' ' "TypeError".\n' '\n' + ' Dictionaries preserve insertion order. Note that ' + 'updating a key\n' + ' does not affect the order. Keys added after deletion are ' + 'inserted\n' + ' at the end.\n' + '\n' + ' >>> d = {"one": 1, "two": 2, "three": 3, "four": 4}\n' + ' >>> d\n' + " {'one': 1, 'two': 2, 'three': 3, 'four': 4}\n" + ' >>> list(d)\n' + " ['one', 'two', 'three', 'four']\n" + ' >>> list(d.values())\n' + ' [1, 2, 3, 4]\n' + ' >>> d["one"] = 42\n' + ' >>> d\n' + " {'one': 42, 'two': 2, 'three': 3, 'four': 4}\n" + ' >>> del d["two"]\n' + ' >>> d["two"] = None\n' + ' >>> d\n' + " {'one': 42, 'three': 3, 'four': 4, 'two': None}\n" + '\n' + ' Changed in version 3.7: Dictionary order is guaranteed to ' + 'be\n' + ' insertion order. This behavior was implementation detail ' + 'of\n' + ' CPython from 3.6.\n' + '\n' 'See also: "types.MappingProxyType" can be used to create a ' 'read-only\n' ' view of a "dict".\n' @@ -12272,9 +12299,9 @@ topics = {'assert': 'The "assert" statement\n' ' may raise a "RuntimeError" or fail to iterate over all ' 'entries.\n' '\n' - ' Changed in version 3.7: Dict order is guaranteed to be ' - 'insertion\n' - ' order.\n' + ' Changed in version 3.7: Dictionary order is guaranteed to ' + 'be\n' + ' insertion order.\n' '\n' 'x in dictview\n' '\n' |