#15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
This commit is contained in:
parent
d8412c84c7
commit
e608e3141e
|
@ -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…
Reference in New Issue