[issue9849] Argparse needs better error handling for nargs
Mark Lawrence
report at bugs.python.org
Wed Apr 17 16:26:36 CEST 2013
Mark Lawrence added the comment:
The first error raised is "TypeError: 'str' object cannot be interpreted as an integer", followed by "ValueError: length of metavar tuple does not match nargs". Therefore the code has already been changed to reflect the title of this issue. If other code changes are needed I believe that should be done in a new or another already existing issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9849>
_______________________________________
More information about the Python-bugs-list
mailing list