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

Method _registry_get

Lib/argparse.py:1551–1552  ·  view source on GitHub ↗
(self, registry_name, value, default=None)

Source from the content-addressed store, hash-verified

1549 registry[value] = object
1550
1551 def _registry_get(self, registry_name, value, default=None):
1552 return self._registries[registry_name].get(value, default)
1553
1554 # ==================================
1555 # Namespace default accessor methods

Callers 3

add_argumentMethod · 0.95
_pop_action_classMethod · 0.95
_get_valueMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected