Message334069
Can you provide a reproducer? I'm having difficulty reproducing with this script:
import argparse
p = argparse.ArgumentParser()
p.add_argument('--foo', nargs=None)
args = p.parse_args()
$ python3.7 --version
Python 3.7.2
$ python3.7 t.py --foo
usage: t.py [-h] [--foo FOO]
t.py: error: argument --foo: expected one argument |
|
Date |
User |
Action |
Args |
2019-01-19 21:19:50 | Anthony Sottile | set | recipients:
+ Anthony Sottile, bethard, eric.fahlgren |
2019-01-19 21:19:48 | Anthony Sottile | set | messageid: <1547932788.51.0.808090830872.issue35785@roundup.psfhosted.org> |
2019-01-19 21:19:48 | Anthony Sottile | link | issue35785 messages |
2019-01-19 21:19:48 | Anthony Sottile | create | |
|