diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 10:55:11 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-31 10:55:11 (GMT) |
commit | 2d337c70616af49cdf5200e145190601930b3476 (patch) | |
tree | d6a08797b1bdd75a4cc94c722396527c75e003b5 | |
parent | e60ee2985cfd5e5057da1a6e25e74cf717792fef (diff) | |
parent | ff63e7afcf23dd5559c57d5486453fe60ee50be5 (diff) | |
download | cpython-2d337c70616af49cdf5200e145190601930b3476.zip cpython-2d337c70616af49cdf5200e145190601930b3476.tar.gz cpython-2d337c70616af49cdf5200e145190601930b3476.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 5636e05..68aff56 100644 --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -96,6 +96,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 4c5b649..dc76ea5 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -1012,7 +1012,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:: |