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

Function mapping

Lib/test/test_pickle.py:587–592  ·  view source on GitHub ↗
(module, name)

Source from the content-addressed store, hash-verified

585}
586
587def mapping(module, name):
588 if (module, name) in NAME_MAPPING:
589 module, name = NAME_MAPPING[(module, name)]
590 elif module in IMPORT_MAPPING:
591 module = IMPORT_MAPPING[module]
592 return module, name
593
594def reverse_mapping(module, name):
595 if (module, name) in REVERSE_NAME_MAPPING:

Callers 4

test_name_mappingMethod · 0.85
test_exceptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…