blob: e562e492890e0855580d8345ba9738894116ba8d (
plain)
1
2
3
4
5
6
7
8
|
from argparse import _AttributeHolder, _SubParsersAction # [import-private-name]
attr_holder = _AttributeHolder()
def add_sub_parser(sub_parsers: _SubParsersAction):
sub_parsers.add_parser("my_subparser")
# ...
|