mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
Tweak example to make clear the argument is a boolean, not any integer.
With Raymond’s approval.
This commit is contained in:
parent
c6ecb012da
commit
1cb25aa2e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue