[issue14074] argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple

Steven Bethard report at bugs.python.org
Sat Feb 25 11:45:07 CET 2012


Steven Bethard <steven.bethard at gmail.com> added the comment:

Looks like the problem is that "_format_action_invocation" is not being as careful with the different possibilities for metavar as "_format_args" is.  Patches welcome!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14074>
_______________________________________


More information about the Python-bugs-list mailing list