#3503: fix print statements in 3k doc.

This commit is contained in:
Georg Brandl 2008-08-05 09:04:16 +00:00
parent 694f1f8c27
commit 11e18b0c2e
4 changed files with 6 additions and 9 deletions

View file

@ -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])