Commit e608e314 authored by Ezio Melotti's avatar Ezio Melotti

#15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.

parent d8412c84
......@@ -646,7 +646,7 @@ to display *more* text instead::
if args.verbosity >= 2:
print "Running '{}'".format(__file__)
if args.verbosity >= 1:
print "{}^{} == ".format(args.x, args.y), end=""
print "{}^{} ==".format(args.x, args.y),
print answer
Output:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment