diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 13:53:30 +0300 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 13:53:30 +0300 |
commit | 2b326e4c2b15b9bc071dbb756ef64045caedeac7 (patch) | |
tree | 2ffa5c4ce7dbc099aacf49095ed5aefcc976c3b4 | |
parent | f6407a184d311e48b18f8350c508075071de879d (diff) | |
download | cpython-git-2b326e4c2b15b9bc071dbb756ef64045caedeac7.tar.gz |
Issue #15825: fix typo in OrderedDict docs.
Patch by Mike Hoy.
-rw-r--r-- | Doc/ACKS.txt | 1 | ||||
-rw-r--r-- | Doc/library/collections.rst | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt index 7507c6c6b7..72a94d047b 100644 --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -92,6 +92,7 @@ docs@python.org), and we'll be glad to correct the problem. * Rob Hooft * Brian Hooper * Randall Hopper + * Mike Hoy * Michael Hudson * Eric Huss * Jeremy Hylton diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 9c38c1610f..661b6aa044 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -852,7 +852,7 @@ are deleted. But when new keys are added, the keys are appended to the end and the sort is not maintained. It is also straight-forward to create an ordered dictionary variant -that the remembers the order the keys were *last* inserted. +that remembers the order the keys were *last* inserted. If a new entry overwrites an existing entry, the original insertion position is changed and moved to the end:: |