Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b429c57 commit bfbd1a2Copy full SHA for bfbd1a2
1 file changed
Doc/tutorial/controlflow.rst
@@ -455,10 +455,9 @@ and of course it would print::
455
shopkeeper : Michael Palin
456
sketch : Cheese Shop Sketch
457
458
-Note that the :meth:`sort` method of the list of keyword argument names is
459
-called before printing the contents of the ``keywords`` dictionary; if this is
460
-not done, the order in which the arguments are printed is undefined.
461
-
+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.
462
463
.. _tut-arbitraryargs:
464
0 commit comments