Message165381
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), |
|
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 | |
|