cpython (merge 3.2 -> default): Issue #15825: fix typo in OrderedDict docs.

http://hg.python.org/cpython/rev/ef80ce83eab1 changeset: 78815:ef80ce83eab1 parent: 78811:ab6ab44921b2 parent: 78814:8877d25119ef user: Andrew Svetlov <andrew.svetlov@gmail.com> date: Fri Aug 31 13:55:11 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 @@ -96,6 +96,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 @@ -1012,7 +1012,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