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

Method _add_action

Lib/argparse.py:1863–1866  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

1861 self._mutually_exclusive_groups = container._mutually_exclusive_groups
1862
1863 def _add_action(self, action):
1864 action = super(_ArgumentGroup, self)._add_action(action)
1865 self._group_actions.append(action)
1866 return action
1867
1868 def _remove_action(self, action):
1869 super(_ArgumentGroup, self)._remove_action(action)

Callers 4

_add_actionMethod · 0.45
add_subparsersMethod · 0.45
_add_actionMethod · 0.45

Calls 2

superClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected