[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>
<http://bugs.python.org/issue9938>
_______________________________________


More information about the Python-bugs-list mailing list