mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#3503: fix print statements in 3k doc.
This commit is contained in:
parent
694f1f8c27
commit
11e18b0c2e
4 changed files with 6 additions and 9 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue