[issue16807] argparse group nesting lost on inheritance
Irit Katriel
report at bugs.python.org
Fri Dec 10 11:54:57 EST 2021
Irit Katriel <iritkatriel at gmail.com> added the comment:
Reproduced on 3.11:
>>> argparse.ArgumentParser(add_help=False, parents=[parent]).print_help()
usage: [--foo FOO] [-a | -b]
options:
-a
-b
the group:
--foo FOO
----------
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue16807>
_______________________________________
More information about the Python-bugs-list
mailing list