[Python-checkins] cpython (2.7): #12092: backport rephrasing of a paragraph in the tutorial.
ezio.melotti
python-checkins at python.org
Tue May 17 04:39:33 CEST 2011
http://hg.python.org/cpython/rev/c449d3c3e0da
changeset: 70168:c449d3c3e0da
branch: 2.7
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Tue May 17 05:39:22 2011 +0300
summary:
#12092: backport rephrasing of a paragraph in the tutorial.
files:
Doc/tutorial/controlflow.rst | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -455,10 +455,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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list