Searched refs:NAME_MAPPING (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/ |
D | _compat_pickle.py | 57 NAME_MAPPING = { variable 152 NAME_MAPPING[("exceptions", excname)] = ("builtins", excname) 162 NAME_MAPPING[("multiprocessing", excname)] = ("multiprocessing.context", excname) 167 REVERSE_NAME_MAPPING = dict((v, k) for (k, v) in NAME_MAPPING.items()) 168 assert len(REVERSE_NAME_MAPPING) == len(NAME_MAPPING) 197 NAME_MAPPING.update({
|
D | pickle.py | 1419 if (module, name) in _compat_pickle.NAME_MAPPING: 1420 module, name = _compat_pickle.NAME_MAPPING[(module, name)]
|
/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 2 NAME_MAPPING, REVERSE_NAME_MAPPING) 337 if (module, name) in NAME_MAPPING: 338 module, name = NAME_MAPPING[(module, name)] 383 modules |= {module for module, name in NAME_MAPPING.values()} 442 for (module2, name2), (module3, name3) in NAME_MAPPING.items():
|