]> granicus.if.org Git - python/commitdiff
Tweak example to make clear the argument is a boolean, not any integer.
authorÉric Araujo <merwok@netwok.org>
Sat, 6 Nov 2010 07:03:07 +0000 (07:03 +0000)
committerÉric Araujo <merwok@netwok.org>
Sat, 6 Nov 2010 07:03:07 +0000 (07:03 +0000)
With Raymond’s approval.

Doc/library/collections.rst

index 1cc4097b6f829f9eae51c1398db6902764c0cd87..439e3bf45c5809d518dc51d3657a4ce8eacdde31 100644 (file)
@@ -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'