[Python-3000-checkins] r59787 - python/branches/py3k/Doc/tutorial/controlflow.rst
georg.brandl
python-3000-checkins at python.org
Sun Jan 6 18:25:36 CET 2008
Author: georg.brandl
Date: Sun Jan 6 18:25:36 2008
New Revision: 59787
Modified:
python/branches/py3k/Doc/tutorial/controlflow.rst
Log:
Clarify sentence in tutorial. Thanks to Marek Kubica.
Modified: python/branches/py3k/Doc/tutorial/controlflow.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/controlflow.rst (original)
+++ python/branches/py3k/Doc/tutorial/controlflow.rst Sun Jan 6 18:25:36 2008
@@ -457,10 +457,9 @@
shopkeeper : Michael Palin
sketch : Cheese Shop Sketch
-Note that the :meth:`sort` method of the list of keyword argument names is
-called before printing the contents of the ``keywords`` dictionary; if this is
-not done, the order in which the arguments are printed is undefined.
-
+Note that the list of keyword argument names is created by sorting the result
+of the keywords dictionary's ``keys()`` method before printing its contents;
+if this is not done, the order in which the arguments are printed is undefined.
.. _tut-arbitraryargs:
More information about the Python-3000-checkins
mailing list