From 2b326e4c2b15b9bc071dbb756ef64045caedeac7 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Fri, 31 Aug 2012 13:53:30 +0300 Subject: Issue #15825: fix typo in OrderedDict docs. Patch by Mike Hoy. --- Doc/ACKS.txt | 1 + Doc/library/collections.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt index 7507c6c..72a94d0 100644 --- a/Doc/ACKS.txt +++ b/Doc/ACKS.txt @@ -92,6 +92,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 9c38c16..661b6aa 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -852,7 +852,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:: -- cgit v0.12