diff options
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) |
commit | 1cb25aa2e3d2df110b0a9ba6861537849b11e95a (patch) | |
tree | 4fa050d676c571a705e15bacf1702d6d73be0229 /Doc | |
parent | c6ecb012da1d1c9144f83209ef777f493208db19 (diff) | |
download | cpython-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.rst | 2 |
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' |