From: Éric Araujo Date: Sat, 6 Nov 2010 07:03:07 +0000 (+0000) Subject: Tweak example to make clear the argument is a boolean, not any integer. X-Git-Tag: v3.2a4~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cb25aa2e3d2df110b0a9ba6861537849b11e95a;p=python Tweak example to make clear the argument is a boolean, not any integer. With Raymond’s approval. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 1cc4097b6f..439e3bf45c 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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'