MCPcopy Index your code
hub / github.com/python/cpython / add_argument_group

Method add_argument_group

Lib/argparse.py:1872–1873  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1870 self._group_actions.remove(action)
1871
1872 def add_argument_group(self, *args, **kwargs):
1873 raise ValueError('argument groups cannot be nested')
1874
1875class _MutuallyExclusiveGroup(_ArgumentGroup):
1876

Callers 15

mainFunction · 0.45
add_subparsersMethod · 0.45
mainFunction · 0.45
_add_sampling_optionsFunction · 0.45
_add_mode_optionsFunction · 0.45
_add_format_optionsFunction · 0.45
_add_pstats_optionsFunction · 0.45
one_groupMethod · 0.45
many_groupsMethod · 0.45
test_nongroup_firstMethod · 0.45
test_group_firstMethod · 0.45

Calls

no outgoing calls

Tested by 15

one_groupMethod · 0.36
many_groupsMethod · 0.36
test_nongroup_firstMethod · 0.36
test_group_firstMethod · 0.36
setUpMethod · 0.36
test_groups_parentsMethod · 0.36