Kaydet (Commit) 1cb25aa2 authored tarafından Éric Araujo's avatar Éric Araujo

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

With Raymond’s approval.
üst c6ecb012
...@@ -804,7 +804,7 @@ the items are returned in the order their keys were first added. ...@@ -804,7 +804,7 @@ the items are returned in the order their keys were first added.
>>> d.move_to_end('b') >>> d.move_to_end('b')
>>> ''.join(d.keys) >>> ''.join(d.keys)
'acdeb' 'acdeb'
>>> d.move_to_end('b', 0) >>> d.move_to_end('b', last=False)
>>> ''.join(d.keys) >>> ''.join(d.keys)
'bacde' 'bacde'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment