diff options
author | Georg Brandl <georg@python.org> | 2010-11-26 07:34:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-11-26 07:34:20 (GMT) |
commit | 78f11edf3f934461191d4cec81fb4f13811c2be2 (patch) | |
tree | 0d89695787be0c415f9f246be6f47fe95161d980 /Doc/tutorial | |
parent | d8d884947bf4d592d0e0378ad9637175620292c6 (diff) | |
download | cpython-78f11edf3f934461191d4cec81fb4f13811c2be2.zip cpython-78f11edf3f934461191d4cec81fb4f13811c2be2.tar.gz cpython-78f11edf3f934461191d4cec81fb4f13811c2be2.tar.bz2 |
Merged revisions 85530,85534,85538,85540-85542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85530 | georg.brandl | 2010-10-15 17:32:05 +0200 (Fr, 15 Okt 2010) | 1 line
Refrain from using inline suites.
........
r85534 | georg.brandl | 2010-10-15 18:19:43 +0200 (Fr, 15 Okt 2010) | 1 line
#9801: document how list and dict proxies created by Managers behave w.r.t. mutable items.
........
r85538 | georg.brandl | 2010-10-15 18:35:46 +0200 (Fr, 15 Okt 2010) | 1 line
#7303: add documentation for useful pkgutil functions and classes.
........
r85540 | georg.brandl | 2010-10-15 18:42:37 +0200 (Fr, 15 Okt 2010) | 1 line
#6798: fix wrong docs for the arguments to several trace events.
........
r85541 | georg.brandl | 2010-10-15 18:53:24 +0200 (Fr, 15 Okt 2010) | 1 line
#4968: updates to inspect.is* function docs.
........
r85542 | georg.brandl | 2010-10-15 19:01:15 +0200 (Fr, 15 Okt 2010) | 1 line
#7790: move table of struct_time members to the actual description of struct_time.
........
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index a30d49c..de93beb 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -429,7 +429,8 @@ function like this:: def cheeseshop(kind, *arguments, **keywords): print "-- Do you have any", kind, "?" print "-- I'm sorry, we're all out of", kind - for arg in arguments: print arg + for arg in arguments: + print arg print "-" * 40 keys = sorted(keywords.keys()) for kw in keys: |