Message165381
| 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:27 | simon.hayward | set | recipients:
+ simon.hayward, docs@python |
| 2012年07月13日 13:18:27 | simon.hayward | set | messageid: <1342185507.58.0.724353170011.issue15345@psf.upfronthosting.co.za> |
| 2012年07月13日 13:18:26 | simon.hayward | link | issue15345 messages |
| 2012年07月13日 13:18:26 | simon.hayward | create |
|