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

http://hg.python.org/cpython/rev/69952b5599b5 changeset: 78813:69952b5599b5 branch: 2.7 user: Andrew Svetlov <andrew.svetlov@gmail.com> date: Fri Aug 31 13:53:30 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 @@ -92,6 +92,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 @@ -852,7 +852,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