MCPcopy Index your code
hub / github.com/RustPython/RustPython / reverse_mapping

Function reverse_mapping

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

Source from the content-addressed store, hash-verified

662 return module, name
663
664def reverse_mapping(module, name):
665 if (module, name) in REVERSE_NAME_MAPPING:
666 module, name = REVERSE_NAME_MAPPING[(module, name)]
667 elif module in REVERSE_IMPORT_MAPPING:
668 module = REVERSE_IMPORT_MAPPING[module]
669 return module, name
670
671def getmodule(module):
672 try:

Callers 3

test_exceptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected