[issue40509] In argparse, allow REMAINDER(...) arguments in a mutually exclusive group

Shani Armon report at bugs.python.org
Wed May 6 13:11:01 EDT 2020


Shani Armon <armonshanid+development at gmail.com> added the comment:

Yes. The pull request contains the special handling. For the purpose of REMAINDER positionals, the default is changed to the empty list that was returned if no arguments were passed. 

For the purpose of positional argument, that is equivalent to nothing being passed

----------

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


More information about the Python-bugs-list mailing list