[issue14191] argparse: nargs='*' doesn't get out-of-order positional parameters

Steven Bethard report at bugs.python.org
Fri Mar 9 00:48:54 CET 2012


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

Actually, that could be even simpler:

args, remaining_args = optionals.parse_known_args()
args = positionals.parse_args(remaining_args, args)

----------

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


More information about the Python-bugs-list mailing list