homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author simon.hayward
Recipients docs@python, simon.hayward
Date 2012年07月13日.13:18:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342185507.58.0.724353170011.issue15345@psf.upfronthosting.co.za>
In-reply-to
Content
HOWTOs - Argparse Tutorial, the code example will raise a syntax error when run. A trailing python3 reference (if called as a function): 'end=""', to suppresses a newline remains.
print "{}^{} == ".format(args.x, args.y), end=""
Should read:
print "{}^{} ==".format(args.x, args.y),
History
Date User Action Args
2012年07月13日 13:18:27simon.haywardsetrecipients: + simon.hayward, docs@python
2012年07月13日 13:18:27simon.haywardsetmessageid: <1342185507.58.0.724353170011.issue15345@psf.upfronthosting.co.za>
2012年07月13日 13:18:26simon.haywardlinkissue15345 messages
2012年07月13日 13:18:26simon.haywardcreate

AltStyle によって変換されたページ (->オリジナル) /