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

Function reverse_mapping

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

Source from the content-addressed store, hash-verified

592 return module, name
593
594def reverse_mapping(module, name):
595 if (module, name) in REVERSE_NAME_MAPPING:
596 module, name = REVERSE_NAME_MAPPING[(module, name)]
597 elif module in REVERSE_IMPORT_MAPPING:
598 module = REVERSE_IMPORT_MAPPING[module]
599 return module, name
600
601def getmodule(module):
602 try:

Callers 3

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…