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

This commit is contained in:
Ezio Melotti 2012-07-13 21:40:25 +02:00
parent d8412c84c7
commit e608e3141e
1 changed files with 1 additions and 1 deletions

View File

@ -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: