This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients paul.j3, samwyse
Date 2021-11-02.17:28:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635874135.05.0.85289414299.issue45656@roundup.psfhosted.org>
In-reply-to
Content
Use of 'prefix_chars' as a argument_group parameter is not documented, nor intended.  

If it does appear to work in the help formatting, it is probably the result of inheritance, since both ArgumentParser and Argument_group subclass a _Actions_Container class.  I'd have to examine the code to see what's happening.  Argument_groups are used only for help formatting, not for parsing.

In any case, I don't think anything needs to be changed or fixed.
History
Date User Action Args
2021-11-02 17:28:55paul.j3setrecipients: + paul.j3, samwyse
2021-11-02 17:28:55paul.j3setmessageid: <1635874135.05.0.85289414299.issue45656@roundup.psfhosted.org>
2021-11-02 17:28:55paul.j3linkissue45656 messages
2021-11-02 17:28:54paul.j3create