mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
#15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
This commit is contained in:
parent
d8412c84c7
commit
e608e3141e
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ to display *more* text instead::
|
||||||
if args.verbosity >= 2:
|
if args.verbosity >= 2:
|
||||||
print "Running '{}'".format(__file__)
|
print "Running '{}'".format(__file__)
|
||||||
if args.verbosity >= 1:
|
if args.verbosity >= 1:
|
||||||
print "{}^{} == ".format(args.x, args.y), end=""
|
print "{}^{} ==".format(args.x, args.y),
|
||||||
print answer
|
print answer
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue