[issue43876] argparse documentation contrasting nargs '*' vs. '+' is misleading

Vince Reuter report at bugs.python.org
Fri Apr 16 16:39:04 EDT 2021


Vince Reuter <vreuter at protonmail.com> added the comment:

Here's the docs excerpt that seems misleading:
"""
'+'. Just like '*', all command-line args present are gathered into a list. Additionally, an error message will be generated if there wasn’t at least one command-line argument present.
"""

----------

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


More information about the Python-bugs-list mailing list