Home
last modified time | relevance | path

Searched refs:_inverted_registry (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dcopy_reg.py156 _inverted_registry = {} # code -> key variable
168 _inverted_registry.get(code) == key):
173 if code in _inverted_registry:
175 (code, _inverted_registry[code]))
177 _inverted_registry[code] = key
183 _inverted_registry.get(code) != key):
187 del _inverted_registry[code]
Dpickle.py31 from copy_reg import _extension_registry, _inverted_registry, _extension_cache
1121 key = _inverted_registry.get(code)
/external/python/cpython3/Lib/
Dcopyreg.py157 _inverted_registry = {} # code -> key variable
169 _inverted_registry.get(code) == key):
174 if code in _inverted_registry:
176 (code, _inverted_registry[code]))
178 _inverted_registry[code] = key
184 _inverted_registry.get(code) != key):
188 del _inverted_registry[code]
Dpickle.py28 from copyreg import _extension_registry, _inverted_registry, _extension_cache
1406 key = _inverted_registry.get(code)
/external/python/cpython3/Lib/test/
Dtest_copyreg.py60 self.assertTrue(copyreg._inverted_registry[code] == (mod, func))
81 if code + 1 not in copyreg._inverted_registry:
Dpickletester.py80 if code in copyreg._inverted_registry:
81 self.pair = copyreg._inverted_registry[code]
89 curpair = copyreg._inverted_registry.get(code)
/external/python/cpython2/Lib/test/
Dtest_copy_reg.py61 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func))
82 if code + 1 not in copy_reg._inverted_registry:
Dpickletester.py119 if code in copy_reg._inverted_registry:
120 self.pair = copy_reg._inverted_registry[code]
128 curpair = copy_reg._inverted_registry.get(code)
/external/python/cpython3/Doc/library/
Dmodulefinder.rst98 copyreg: _inverted_registry,_slotnames,__all__
/external/python/cpython2/Doc/library/
Dmodulefinder.rst101 copy_reg: _inverted_registry,_slotnames,__all__