]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify sentence in tutorial. Thanks to Marek Kubica.
authorGeorg Brandl <georg@python.org>
Sun, 6 Jan 2008 17:25:36 +0000 (17:25 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 6 Jan 2008 17:25:36 +0000 (17:25 +0000)
Doc/tutorial/controlflow.rst

index f51b66ca076bba89f616a675c072fad7ac6a0311..5b05aed2d2f8ca35554507a587e412d728ebb1ca 100644 (file)
@@ -457,10 +457,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: