[Python-checkins] cpython (merge 3.2 -> default): Fix typo (reported by Hiro Ashiya).
raymond.hettinger
python-checkins at python.org
Sat Jun 25 11:53:03 CEST 2011
http://hg.python.org/cpython/rev/2db99429beb4
changeset: 70954:2db99429beb4
parent: 70950:67ea5cebca1c
parent: 70953:23f9cfa1f597
user: Raymond Hettinger <python at rcn.com>
date: Sat Jun 25 11:39:42 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
@@ -900,10 +900,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