cpython (3.2): Issue #15825: fix typo in OrderedDict docs.

http://hg.python.org/cpython/rev/8877d25119ef changeset: 78814:8877d25119ef branch: 3.2 parent: 78809:62044cd5b19b user: Andrew Svetlov <andrew.svetlov@gmail.com> date: Fri Aug 31 13:54:54 2012 +0300 summary: Issue #15825: fix typo in OrderedDict docs. Patch by Mike Hoy. files: Doc/ACKS.txt | 1 + Doc/library/collections.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -95,6 +95,7 @@ * 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 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -878,7 +878,7 @@ 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:: -- Repository URL: http://hg.python.org/cpython
participants (1)
-
andrew.svetlov