Message408401
This is working on 3.11:
>>> from argparse import ArgumentParser
>>> parser = ArgumentParser()
>>> parser.add_argument("--foo", help="foo", action='store_const')
_StoreConstAction(option_strings=['--foo'], dest='foo', nargs=0, const=None, default=None, type=None, choices=None, help='foo', metavar=None)
>>> parser.print_usage()
usage: [-h] [--foo]
>>>
So I agree this issue can be closed. |
|
Date |
User |
Action |
Args |
2021-12-12 17:19:22 | iritkatriel | set | recipients:
+ iritkatriel, r.david.murray, docs@python, paul.j3, pconnell, A. Skrobov, nanjekyejoannah |
2021-12-12 17:19:22 | iritkatriel | set | messageid: <1639329562.09.0.5920930519.issue25299@roundup.psfhosted.org> |
2021-12-12 17:19:22 | iritkatriel | link | issue25299 messages |
2021-12-12 17:19:22 | iritkatriel | create | |
|