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

Method _pop_action_class

Lib/argparse.py:1772–1774  ·  view source on GitHub ↗
(self, kwargs, default=None)

Source from the content-addressed store, hash-verified

1770 return dict(kwargs, dest=dest, option_strings=option_strings)
1771
1772 def _pop_action_class(self, kwargs, default=None):
1773 action = kwargs.pop('action', default)
1774 return self._registry_get('action', action, action)
1775
1776 def _get_handler(self):
1777 # determine function from conflict handler string

Callers 2

add_argumentMethod · 0.95
add_subparsersMethod · 0.80

Calls 2

_registry_getMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected