[issue37880] For argparse add_argument with action='store_const', const should default to None.

Vinay Sajip report at bugs.python.org
Sat Jul 31 12:28:03 EDT 2021


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:


New changeset 0ad173249d287794d53e6a1fe2d58bb2adee2276 by Jack DeVries in branch 'main':
bpo-37880: for argparse add_argument with action='store_const', const now defaults to None. (GH-26707)
https://github.com/python/cpython/commit/0ad173249d287794d53e6a1fe2d58bb2adee2276


----------

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


More information about the Python-bugs-list mailing list