diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 10:54:54 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 10:54:54 (GMT) |
commit | ff63e7afcf23dd5559c57d5486453fe60ee50be5 (patch) | |
tree | 62e906cbfbe7326358363408d5e12a014dc68894 | |
parent | a45afcada37d7945a97ed6d0c241f0b0468e7932 (diff) | |
download | cpython-ff63e7afcf23dd5559c57d5486453fe60ee50be5.zip cpython-ff63e7afcf23dd5559c57d5486453fe60ee50be5.tar.gz cpython-ff63e7afcf23dd5559c57d5486453fe60ee50be5.tar.bz2 |
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 03e1a6b..26f7ea9 100644 --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -95,6 +95,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 e90b25e..57e0481 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -878,7 +878,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:: |