summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-06 07:03:07 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-06 07:03:07 (GMT)
commit1cb25aa2e3d2df110b0a9ba6861537849b11e95a (patch)
tree4fa050d676c571a705e15bacf1702d6d73be0229 /Doc
parentc6ecb012da1d1c9144f83209ef777f493208db19 (diff)
downloadcpython-1cb25aa2e3d2df110b0a9ba6861537849b11e95a.zip
cpython-1cb25aa2e3d2df110b0a9ba6861537849b11e95a.tar.gz
cpython-1cb25aa2e3d2df110b0a9ba6861537849b11e95a.tar.bz2
Tweak example to make clear the argument is a boolean, not any integer.
With Raymond’s approval.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 1cc4097..439e3bf 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -804,7 +804,7 @@ the items are returned in the order their keys were first added.
>>> d.move_to_end('b')
>>> ''.join(d.keys)
'acdeb'
- >>> d.move_to_end('b', 0)
+ >>> d.move_to_end('b', last=False)
>>> ''.join(d.keys)
'bacde'