]> granicus.if.org Git - python/commitdiff
#12092: backport rephrasing of a paragraph in the tutorial.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 17 May 2011 02:39:22 +0000 (05:39 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 17 May 2011 02:39:22 +0000 (05:39 +0300)
Doc/tutorial/controlflow.rst

index de93beb2440ac98beef81a3513ba621aa9a15cfa..5c7ca4e0a4ec8793583e2135457f58cfa0bd0f71 100644 (file)
@@ -455,10 +455,9 @@ and of course it would print::
    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: