Searched refs:loader_state (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/importlib/ |
D | util.py | 222 attrs_then = self.__spec__.loader_state['__dict__'] 223 original_type = self.__spec__.loader_state['__class__'] 284 loader_state = {} 285 loader_state['__dict__'] = module.__dict__.copy() 286 loader_state['__class__'] = module.__class__ 287 module.__spec__.loader_state = loader_state
|
D | _bootstrap.py | 355 def __init__(self, name, loader, *, origin=None, loader_state=None, argument 360 self.loader_state = loader_state
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_spec.py | 83 self.assertIs(spec.loader_state, None) 94 self.assertIs(spec.loader_state, None) 106 self.assertIs(spec.loader_state, None) 118 self.assertIs(spec.loader_state, None) 515 self.assertIs(spec.loader_state, None) 530 self.assertIs(spec.loader_state, None) 543 self.assertIs(spec.loader_state, None) 555 self.assertIs(spec.loader_state, None) 567 self.assertIs(spec.loader_state, None) 580 self.assertIs(spec.loader_state, None) [all …]
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 1046 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) 1081 .. attribute:: loader_state
|