[issue41592] Make _SubParsersAction public

paul j3 report at bugs.python.org
Mon Oct 25 12:25:39 EDT 2021


paul j3 <ajipanca at gmail.com> added the comment:

`add_argument` also returns a Action subclass object.  All of those subclasses are "private".  While that return reference is usually ignored, sometimes it is useful to it, assigning it to a variable or list.  The documentation could be clearer about access to Action objects.

----------
nosy: +paul.j3

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


More information about the Python-bugs-list mailing list