[Python-checkins] cpython (3.2): Fix typo (reported by Hiro Ashiya).
raymond.hettinger
python-checkins at python.org
Sat Jun 25 11:53:02 CEST 2011
http://hg.python.org/cpython/rev/23f9cfa1f597
changeset: 70953:23f9cfa1f597
branch: 3.2
parent: 70949:9216e0a5d950
user: Raymond Hettinger <python at rcn.com>
date: Sat Jun 25 11:39:00 2011 +0200
summary:
Fix typo (reported by Hiro Ashiya).
files:
Doc/library/collections.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -821,10 +821,10 @@
>>> d = OrderedDict.fromkeys('abcde')
>>> d.move_to_end('b')
- >>> ''.join(d.keys)
+ >>> ''.join(d.keys())
'acdeb'
>>> d.move_to_end('b', last=False)
- >>> ''.join(d.keys)
+ >>> ''.join(d.keys())
'bacde'
.. versionadded:: 3.2
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list