László Attila Tóth <laszlo.attila.t...@gmail.com> added the comment:
my idea regarding _ArgumentGroup,add_argument_group is in the attached file. This doesn't solve the complete help output issue, but addresses the incorrectly called _ArgumentGroup.add_argument_group - a warn() call and return self. As a result the help output for embedded groups (not mutually exclusive groups) work as expected. If the title parameter is specified, this scenario is not checked, and so on. ---------- keywords: +patch Added file: https://bugs.python.org/file50489/argparse-add-arg_grp-deprecation.diff _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46057> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com