Message210950
I think the docs of argparse still contain confusing magic:
parser.parse_args('7'.split())
You know what it does and I know it. But a lot of people new to Python, don't understand what this should be.
Please use:
parser.parse_args(['7'])
Close this ticket, if you don't care for people new to Python. |
|
Date |
User |
Action |
Args |
2014-02-11 15:28:25 | guettli | set | recipients:
+ guettli, docs@python |
2014-02-11 15:28:25 | guettli | set | messageid: <1392132505.16.0.864715722344.issue20598@psf.upfronthosting.co.za> |
2014-02-11 15:28:25 | guettli | link | issue20598 messages |
2014-02-11 15:28:24 | guettli | create | |
|