Searched refs:ModuleType (Results 1 – 25 of 68) sorted by relevance
123
/third_party/python/Lib/test/ |
D | test_module.py | 9 ModuleType = type(sys) variable 24 foo = ModuleType.__new__(ModuleType) 32 self.assertEqual(foo.__doc__, ModuleType.__doc__) 37 foo = ModuleType.__new__(ModuleType) 45 foo = ModuleType("foo") 52 foo = ModuleType("foo") 64 foo = ModuleType("foo", "foodoc") 74 foo = ModuleType("foo", "foodoc\u1234") 84 foo = ModuleType("foo", "foodoc\u1234") 99 foo = ModuleType("foo") [all …]
|
D | test_xxlimited.py | 10 module: types.ModuleType
|
D | pydocfodder.py | 215 submodule = types.ModuleType(__name__ + '.submodule',
|
/third_party/python/Lib/unittest/test/ |
D | test_loader.py | 113 m = types.ModuleType('m') 130 m = types.ModuleType('m') 141 m = types.ModuleType('m') 181 m = types.ModuleType('m') 208 m = types.ModuleType('m') 237 m = types.ModuleType('m') 265 m = types.ModuleType('m') 294 m = types.ModuleType('m') 320 m = types.ModuleType('m') 339 m = types.ModuleType('m') [all …]
|
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 61 self.assertIsInstance(module, types.ModuleType) 66 class CustomModule(types.ModuleType): 160 self.assertIsInstance(module, types.ModuleType) 172 module = types.ModuleType('a.b.c') 194 module = types.ModuleType(name) 209 class FalseModule(types.ModuleType): 272 module = types.ModuleType('module') 278 module = types.ModuleType('pkg') 285 module = types.ModuleType('pkg.mod') 291 module = types.ModuleType('mod') [all …]
|
D | test_api.py | 110 module = types.ModuleType(name) 123 module = types.ModuleType(name) 136 module = types.ModuleType(name) 373 module = sys.modules[name] = types.ModuleType(name) 439 if isinstance(module, types.ModuleType): 450 if isinstance(module, types.ModuleType):
|
D | test_lazy.py | 70 module = types.ModuleType(TestingImporter.module_name) 130 fresh_module = types.ModuleType(TestingImporter.module_name)
|
D | test_abc.py | 222 mod = types.ModuleType('blah') 486 module = types.ModuleType(name) 507 module = types.ModuleType('blah') 555 module = types.ModuleType('blah') 660 module = types.ModuleType('blah') 690 module = types.ModuleType('blah') 795 module = types.ModuleType(self.name)
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test_api.py | 66 mod = types.ModuleType(PKG_NAME) 77 mod = types.ModuleType(PKG_NAME) 89 mod = types.ModuleType(PKG_NAME)
|
D | test___loader__.py | 51 module = types.ModuleType('blah') 65 module = types.ModuleType('blah')
|
D | test_path.py | 9 from types import ModuleType 114 self.assertIsInstance(module, ModuleType)
|
/third_party/python/Lib/importlib/ |
D | _common.py | 14 Package = Union[types.ModuleType, str] 57 return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
|
D | resources.py | 12 from types import ModuleType 36 Package = Union[str, ModuleType]
|
D | util.py | 222 class _LazyModule(types.ModuleType): 231 self.__class__ = types.ModuleType
|
/third_party/python/Lib/test/test_importlib/extension/ |
D | test_loader.py | 144 self.assertIsInstance(module, types.ModuleType) 183 self.assertIsInstance(module, types.ModuleType) 190 self.assertIsInstance(module, types.ModuleType) 235 self.assertIsInstance(module, types.ModuleType)
|
/third_party/python/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 22 self.assertIsInstance(module, types.ModuleType) 64 module = types.ModuleType(module_name)
|
/third_party/python/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 145 orig_module = types.ModuleType(name) 214 module = types.ModuleType('_temp') 232 module = types.ModuleType('bad name') 254 mod = types.ModuleType('_temp') 286 mod = types.ModuleType('_temp') 310 mod = types.ModuleType('_temp') 341 mod = types.ModuleType('_temp') 511 module = types.ModuleType(module_name)
|
D | test_source_encoding.py | 94 module = types.ModuleType(self.module_name) 150 module = types.ModuleType(module_name)
|
/third_party/python/Lib/multiprocessing/ |
D | spawn.py | 257 main_module = types.ModuleType("__mp_main__") 286 main_module = types.ModuleType("__mp_main__")
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 19 module = types.ModuleType(name) 189 mod = types.ModuleType(name)
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource7.ts | 153 var modType: ModuleType = null; 165 modType = <ModuleType>aliasedModType; 201 var modType: ModuleType = null; 207 modType = new ModuleType(enclosedTypes, ambientEnclosedTypes); 253 modType = new ModuleType(enclosedTypes, ambientEnclosedTypes);
|
/third_party/jinja2/ |
D | loaders.py | 10 from types import ModuleType 438 class _TemplateModule(ModuleType):
|
/third_party/skia/third_party/externals/jinja2/ |
D | loaders.py | 10 from types import ModuleType 438 class _TemplateModule(ModuleType):
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | loaders.py | 14 from types import ModuleType 417 class _TemplateModule(ModuleType):
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | parser.py | 170 isinstance(resolve_, (types.FunctionType, types.MethodType, types.ModuleType)): 342 if isinstance(obj, types.ModuleType): 633 if not isinstance(value, types.ModuleType):
|
123