[docs] [issue9938] Documentation for argparse interactive use

Andrew Berg report at bugs.python.org
Fri Jun 28 06:26:24 CEST 2013

Andrew Berg added the comment:

The patch doesn't work for 3.3 (I think it's just because the line numbers are different), but looking over what the patch does, it looks like parse_known_args will return a value for args if there is an unrecognized argument, which will cause parse_args to call error() (it should raise ArgumentError instead).


Python tracker <report at bugs.python.org>

More information about the docs mailing list