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

Function mapping

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

Source from the content-addressed store, hash-verified

655}
656
657def mapping(module, name):
658 if (module, name) in NAME_MAPPING:
659 module, name = NAME_MAPPING[(module, name)]
660 elif module in IMPORT_MAPPING:
661 module = IMPORT_MAPPING[module]
662 return module, name
663
664def reverse_mapping(module, name):
665 if (module, name) in REVERSE_NAME_MAPPING:

Callers 4

test_name_mappingMethod · 0.70
test_exceptionsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected