summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-06-25 09:39:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-06-25 09:39:00 (GMT)
commit4d5208d2e2fc28bd400623f44b7267f4a04fb635 (patch)
tree5a1a3efc8f7c2f4a7896d8a1bf7a339474f5a1a5 /Doc
parent5279fb99cb309b422c2ba11eadc01368b6d997f1 (diff)
downloadcpython-4d5208d2e2fc28bd400623f44b7267f4a04fb635.zip
cpython-4d5208d2e2fc28bd400623f44b7267f4a04fb635.tar.gz
cpython-4d5208d2e2fc28bd400623f44b7267f4a04fb635.tar.bz2
Fix typo (reported by Hiro Ashiya).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 0b45fe1..4975f74 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -821,10 +821,10 @@ the items are returned in the order their keys were first added.
>>> 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