Message121219
From a personal email:
----------------------------------------------------------------------
I'm not signed up for all the Python issue tracking stuff, but thought I'd let you know about a problem with the argparse doc page:
http://docs.python.org/library/argparse.html
It says at the end:
Replace options, args = parser.parse_args() with args = parser.parse_args() and add additional ArgumentParser.add_argument() calls for the positional arguments.
But I think it should be options = parser.parse_args(), not args.
----------------------------------------------------------------------
They're not options, so I don't like encouraging people to continue to call them options, but the docs should at least make clear that the namespace object that used to be called "options" is now called "args". |
|
Date |
User |
Action |
Args |
2010-11-15 10:30:35 | bethard | set | recipients:
+ bethard, docs@python |
2010-11-15 10:30:35 | bethard | set | messageid: <1289817035.63.0.362408496183.issue10423@psf.upfronthosting.co.za> |
2010-11-15 10:30:33 | bethard | link | issue10423 messages |
2010-11-15 10:30:33 | bethard | create | |
|