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

Method add_mutually_exclusive_group

Lib/argparse.py:1642–1645  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1640 return group
1641
1642 def add_mutually_exclusive_group(self, **kwargs):
1643 group = _MutuallyExclusiveGroup(self, **kwargs)
1644 self._mutually_exclusive_groups.append(group)
1645 return group
1646
1647 def _add_action(self, action):
1648 # resolve any conflicts

Callers 15

parse_argsFunction · 0.45
parse_argsFunction · 0.45
parse_argsFunction · 0.45
mainFunction · 0.45
_parse_argsFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
_add_format_optionsFunction · 0.45
setUpMethod · 0.45
test_groups_parentsMethod · 0.45

Calls 2

appendMethod · 0.45

Tested by 15

setUpMethod · 0.36
test_groups_parentsMethod · 0.36
test_helpMethod · 0.36
test_optional_orderMethod · 0.36
get_parserMethod · 0.36
get_parserMethod · 0.36
get_parserMethod · 0.36