Clarify sentence in tutorial. Thanks to Marek Kubica.

This commit is contained in:
Georg Brandl 2008-01-06 17:25:36 +00:00
parent 7f044315f4
commit a6fa2728fb
1 changed files with 3 additions and 4 deletions

View 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: