[issue37510] argparse removing more "--" than it should

Jorge L. Martinez report at bugs.python.org
Fri Jul 5 20:08:30 EDT 2019


Jorge L. Martinez <jol at fastmail.com> added the comment:

To be clear, my opinion is that a single call of parse_args() should only ever remove the first "--". Right now, it seems that it removes the first of each argument group, as determined by nargs, I guess.

----------

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


More information about the Python-bugs-list mailing list