diff options
author | Georg Brandl <georg@python.org> | 2008-08-05 09:04:16 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-08-05 09:04:16 (GMT) |
commit | 11e18b0c2e0996632904a7dc7c953b2d6ae61b3a (patch) | |
tree | 4c53c1cda6b6b4256fb0255032fb1d1a382ba8a4 /Doc/tutorial/controlflow.rst | |
parent | 694f1f8c27f639e385644eaea7a1d187252f9fe1 (diff) | |
download | cpython-11e18b0c2e0996632904a7dc7c953b2d6ae61b3a.zip cpython-11e18b0c2e0996632904a7dc7c953b2d6ae61b3a.tar.gz cpython-11e18b0c2e0996632904a7dc7c953b2d6ae61b3a.tar.bz2 |
#3503: fix print statements in 3k doc.
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index c21e531..488ba91 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -434,7 +434,7 @@ 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: print(kw, ':', keywords[kw]) |