Searched refs:REVERSE_NAME_MAPPING (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/ |
D | _compat_pickle.py | 167 REVERSE_NAME_MAPPING = dict((v, k) for (k, v) in NAME_MAPPING.items()) variable 168 assert len(REVERSE_NAME_MAPPING) == len(NAME_MAPPING) 204 REVERSE_NAME_MAPPING.update({ 244 REVERSE_NAME_MAPPING[('builtins', excname)] = ('exceptions', 'OSError') 251 REVERSE_NAME_MAPPING[('builtins', excname)] = ('exceptions', 'ImportError')
|
D | pickle.py | 990 r_name_mapping = _compat_pickle.REVERSE_NAME_MAPPING
|
/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 2 NAME_MAPPING, REVERSE_NAME_MAPPING) 344 if (module, name) in REVERSE_NAME_MAPPING: 345 module, name = REVERSE_NAME_MAPPING[(module, name)] 382 modules |= {module for module, name in REVERSE_NAME_MAPPING} 402 for (module3, name3), (module2, name2) in REVERSE_NAME_MAPPING.items(): 431 for (m3, n3), (m2, n2) in REVERSE_NAME_MAPPING.items():
|