summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/controlflow.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-05 09:04:16 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-05 09:04:16 (GMT)
commit11e18b0c2e0996632904a7dc7c953b2d6ae61b3a (patch)
tree4c53c1cda6b6b4256fb0255032fb1d1a382ba8a4 /Doc/tutorial/controlflow.rst
parent694f1f8c27f639e385644eaea7a1d187252f9fe1 (diff)
downloadcpython-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.rst2
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])