[issue42622] Add support to add existing parser to ArgumentParser.subparsers

2020-12-11 Thread Bohdan Borkivskyi
Change by Bohdan Borkivskyi : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker <https://bugs.python.org/issue42622> ___ ___ Python-bugs-list mailin

[issue42622] Add support to add existing parser to ArgumentParser.subparsers

2020-12-11 Thread Bohdan Borkivskyi
New submission from Bohdan Borkivskyi : Currently, there is only a possibility to create empty parser as subparser - argparse.py, line 1122 The purpose of issue is to add support for existing parser to be added as subparser -- components: Library (Lib) messages: 382867 nosy