From: Ezio Melotti Date: Fri, 13 Jul 2012 19:40:25 +0000 (+0200) Subject: #15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward. X-Git-Tag: v2.7.4rc1~701 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e608e3141e0e4168c779a110a0d1202b84d59ede;p=python #15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward. --- diff --git a/Doc/howto/argparse.rst b/Doc/howto/argparse.rst index eed6a5fdb0..449f7cd96f 100644 --- a/Doc/howto/argparse.rst +++ b/Doc/howto/argparse.rst @@ -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: