Commit 4d5208d2 authored by Raymond Hettinger's avatar Raymond Hettinger

Fix typo (reported by Hiro Ashiya).

parent 5279fb99
......@@ -821,10 +821,10 @@ the items are returned in the order their keys were first added.
>>> d = OrderedDict.fromkeys('abcde')
>>> d.move_to_end('b')
>>> ''.join(d.keys)
>>> ''.join(d.keys())
'acdeb'
>>> d.move_to_end('b', last=False)
>>> ''.join(d.keys)
>>> ''.join(d.keys())
'bacde'
.. versionadded:: 3.2
......
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