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

Raymond Hettinger report at bugs.python.org
Sat Feb 1 14:03:23 EST 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> I am not sure disallowing tuple metavars would break backup 
> compatibility or not~

Given that tuple metavars currently doesn't work, there is no backward compatibility issue.  What is being proposed is to give more friendly error messages.

----------

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


More information about the Python-bugs-list mailing list