summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-05-17 02:39:22 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-05-17 02:39:22 (GMT)
commitbfbd1a2fd4f304e780d7652daf425fb473097abe (patch)
tree5b3f5054ecf21ced88cd5787ea98d534ddb987cc
parentb429c5748125f5e63fbb26c85b8e49b43e62b405 (diff)
downloadcpython-bfbd1a2fd4f304e780d7652daf425fb473097abe.zip
cpython-bfbd1a2fd4f304e780d7652daf425fb473097abe.tar.gz
cpython-bfbd1a2fd4f304e780d7652daf425fb473097abe.tar.bz2
#12092: backport rephrasing of a paragraph in the tutorial.
-rw-r--r--Doc/tutorial/controlflow.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index de93beb..5c7ca4e 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -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: