4. More Control Flow Tools - Python v2.7.6 documentation - 0 views
-
*name must occur before **name.
-
keys = sorted(keywords.keys()) for kw in keys: print kw, ":", keywords[kw]
-
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
- ...11 more annotations...