From 1cb25aa2e3d2df110b0a9ba6861537849b11e95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 6 Nov 2010 07:03:07 +0000 Subject: Tweak example to make clear the argument is a boolean, not any integer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With Raymond’s approval. --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 1cc4097..439e3bf 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' -- cgit v0.12