Tweak example to make clear the argument is a boolean, not any integer.

With Raymond’s approval.
This commit is contained in:
Éric Araujo 2010-11-06 07:03:07 +00:00
parent c6ecb012da
commit 1cb25aa2e3
1 changed files with 1 additions and 1 deletions

View 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'