[Python-checkins] r86253 - python/branches/py3k/Doc/library/collections.rst

eric.araujo python-checkins at python.org
Sat Nov 6 08:03:07 CET 2010


Author: eric.araujo
Date: Sat Nov  6 08:03:07 2010
New Revision: 86253

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

With Raymond’s approval.


Modified:
   python/branches/py3k/Doc/library/collections.rst

Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst	(original)
+++ python/branches/py3k/Doc/library/collections.rst	Sat Nov  6 08:03:07 2010
@@ -804,7 +804,7 @@
           >>> 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'
 


More information about the Python-checkins mailing list