Home
last modified time | relevance | path

Searched refs:ModuleType (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_module.py6 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")
Dpydocfodder.py215 submodule = types.ModuleType(__name__ + '.submodule',
Dtest_getopt.py173 m = types.ModuleType("libreftest", s)
Dtest_xpickle.py27 pickletester = types.ModuleType("test.pickletester")
Dtest_inspect.py306 from types import ModuleType
308 m = sys.modules[name] = ModuleType(name)
Dtest_pydoc.py539 self.Q = types.ModuleType(
Dtest_descr.py679 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.py32 from types import ModuleType
1183 if name in _builtins and isinstance(target, ModuleType):
/external/python/cpython2/Lib/unittest/test/
Dtest_loader.py87 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/
Dnew.py15 from types import ModuleType as module
Dtypes.py62 ModuleType = type(sys) variable
Dpkgutil.py10 from types import ModuleType
456 if isinstance(module_or_name, ModuleType):
Ddoctest.py2118 m = types.ModuleType(name)
2126 m = types.ModuleType(name)
/external/python/cpython2/Doc/c-api/
Dmodule.rst15 .. index:: single: ModuleType (in module types)
18 is exposed to Python programs as ``types.ModuleType``.
/external/libmojo/third_party/jinja2/
Dloaders.py14 from types import ModuleType
407 class _TemplateModule(ModuleType):
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py185 return (type(module_obj.__dict__[name]) != types.ModuleType
/external/ply/ply/ply/
Dlex.py175 if isinstance(lextab, types.ModuleType):
212 if isinstance(tabfile, types.ModuleType):
1031 if isinstance(lextab, types.ModuleType):
Dyacc.py1979 if isinstance(module, types.ModuleType):
2727 if isinstance(tabmodule, types.ModuleType):
3246 if isinstance(tabmodule, types.ModuleType):
/external/python/cpython2/Lib/unittest/
Dloader.py102 if isinstance(obj, types.ModuleType):
/external/autotest/contrib/
Dcoverage.py566 if isinstance(morf, types.ModuleType):
786 if isinstance(morf, types.ModuleType):
/external/python/cpython2/Doc/library/
Dtypes.rst171 .. data:: ModuleType
/external/libmojo/third_party/ply/
Dlex.py172 if isinstance(tabfile,types.ModuleType):
215 if isinstance(tabfile,types.ModuleType):
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dtemplate.py671 module = types.ModuleType(cid)
/external/protobuf/python/
Dmox.py155 _USE_MOCK_OBJECT = [types.ClassType, types.InstanceType, types.ModuleType,
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py505 if isinstance(module, types.ModuleType):

12