From e608e3141e0e4168c779a110a0d1202b84d59ede Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 13 Jul 2012 21:40:25 +0200 Subject: [PATCH] #15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward. --- Doc/howto/argparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/argparse.rst b/Doc/howto/argparse.rst index eed6a5fdb01..449f7cd96f0 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: