Searched refs:_inverted_registry (Results 1 – 5 of 5) sorted by relevance
152 _inverted_registry = {} # code -> key variable164 _inverted_registry.get(code) == key):169 if code in _inverted_registry:171 (code, _inverted_registry[code]))173 _inverted_registry[code] = key179 _inverted_registry.get(code) != key):183 del _inverted_registry[code]
31 from copy_reg import _extension_registry, _inverted_registry, _extension_cache1115 key = _inverted_registry.get(code)
55 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func))76 if code + 1 not in copy_reg._inverted_registry:
84 if code in copy_reg._inverted_registry:85 self.pair = copy_reg._inverted_registry[code]93 curpair = copy_reg._inverted_registry.get(code)