Searched refs:ModuleType (Results 1 – 25 of 30) sorted by relevance
12
/external/python/cpython2/Lib/test/ |
D | test_module.py | 6 ModuleType = type(sys) variable 12 foo = ModuleType.__new__(ModuleType) 20 self.assertEqual(foo.__doc__, ModuleType.__doc__) 24 foo = ModuleType("foo") 31 foo = ModuleType("foo", "foodoc") 39 foo = ModuleType("foo", u"foodoc\u1234") 47 foo = ModuleType("foo", u"foodoc\u1234") 62 foo = ModuleType("foo") 70 m = ModuleType("foo")
|
D | pydocfodder.py | 215 submodule = types.ModuleType(__name__ + '.submodule',
|
D | test_getopt.py | 173 m = types.ModuleType("libreftest", s)
|
D | test_xpickle.py | 27 pickletester = types.ModuleType("test.pickletester")
|
D | test_inspect.py | 306 from types import ModuleType 308 m = sys.modules[name] = ModuleType(name)
|
D | test_pydoc.py | 539 self.Q = types.ModuleType(
|
D | test_descr.py | 679 class Module(types.ModuleType, str): 3215 class Module1(types.ModuleType, Base): 3217 class Module2(Base, types.ModuleType): 3219 for ModuleType in Module1, Module2: 3220 mod = ModuleType("spam") 3728 from types import ModuleType as M
|
D | _mock_backport.py | 32 from types import ModuleType 1183 if name in _builtins and isinstance(target, ModuleType):
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_loader.py | 87 m = types.ModuleType('m') 104 m = types.ModuleType('m') 115 m = types.ModuleType('m') 154 m = types.ModuleType('m') 177 m = types.ModuleType('m') 353 m = types.ModuleType('m') 367 m = types.ModuleType('m') 383 m = types.ModuleType('m') 398 m = types.ModuleType('m') 419 m = types.ModuleType('m') [all …]
|
/external/python/cpython2/Lib/ |
D | new.py | 15 from types import ModuleType as module
|
D | types.py | 62 ModuleType = type(sys) variable
|
D | pkgutil.py | 10 from types import ModuleType 456 if isinstance(module_or_name, ModuleType):
|
D | doctest.py | 2118 m = types.ModuleType(name) 2126 m = types.ModuleType(name)
|
/external/python/cpython2/Doc/c-api/ |
D | module.rst | 15 .. index:: single: ModuleType (in module types) 18 is exposed to Python programs as ``types.ModuleType``.
|
/external/libmojo/third_party/jinja2/ |
D | loaders.py | 14 from types import ModuleType 407 class _TemplateModule(ModuleType):
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | markdown.py | 185 return (type(module_obj.__dict__[name]) != types.ModuleType
|
/external/ply/ply/ply/ |
D | lex.py | 175 if isinstance(lextab, types.ModuleType): 212 if isinstance(tabfile, types.ModuleType): 1031 if isinstance(lextab, types.ModuleType):
|
D | yacc.py | 1979 if isinstance(module, types.ModuleType): 2727 if isinstance(tabmodule, types.ModuleType): 3246 if isinstance(tabmodule, types.ModuleType):
|
/external/python/cpython2/Lib/unittest/ |
D | loader.py | 102 if isinstance(obj, types.ModuleType):
|
/external/autotest/contrib/ |
D | coverage.py | 566 if isinstance(morf, types.ModuleType): 786 if isinstance(morf, types.ModuleType):
|
/external/python/cpython2/Doc/library/ |
D | types.rst | 171 .. data:: ModuleType
|
/external/libmojo/third_party/ply/ |
D | lex.py | 172 if isinstance(tabfile,types.ModuleType): 215 if isinstance(tabfile,types.ModuleType):
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | template.py | 671 module = types.ModuleType(cid)
|
/external/protobuf/python/ |
D | mox.py | 155 _USE_MOCK_OBJECT = [types.ClassType, types.InstanceType, types.ModuleType,
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 505 if isinstance(module, types.ModuleType):
|
12