Searched refs:__module__ (Results 1 – 25 of 123) sorted by relevance
12345
34 self.assertEqual(self.json.scanner.make_scanner.__module__,36 self.assertEqual(self.json.decoder.scanstring.__module__,38 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,43 self.assertEqual(self.json.scanner.make_scanner.__module__, '_json')44 self.assertEqual(self.json.decoder.scanstring.__module__, '_json')45 self.assertEqual(self.json.encoder.c_make_encoder.__module__, '_json')46 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
11 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")15 self.assertEqual(self.json.encoder.encode_basestring_ascii.__module__,
238 Test1.__module__ = Test2.__module__ = 'Module'239 Test3.__module__ = 'Module2'277 Test.__module__ = 'Module'316 Test.__module__ = 'Module'317 Test2.__module__ = 'Module'336 Test.__module__ = 'Module'354 Test.__module__ = 'Module'389 Test.__module__ = 'Module'390 Test2.__module__ = 'Module'432 Test.__module__ = 'Module'[all …]
536 TestableTest.__module__ = 'Module'597 TestableTest.__module__ = 'Module1'599 TestableTest2.__module__ = 'Module2'644 TestableTest.__module__ = 'Module'672 TestableTest.__module__ = 'Module'703 TestableTest.__module__ = 'Module'744 TestableTest.__module__ = 'Module'832 TestableTest.__module__ = 'Module'862 TestableTest.__module__ = 'Module'904 TestableTest.__module__ = 'Module'[all …]
991 Foo.__module__ = 'Module'1019 Foo.__module__ = 'Module'1048 Foo.__module__ = 'Module'1079 Foo.__module__ = 'Module'1121 Foo.__module__ = 'Module'
91 if py_item.__module__ != moduleName:93 self.assertEqual(py_item.__module__, value.module)96 if py_item.__module__ != moduleName:122 self.assertEqual(py_item.__module__, value.module)134 return item.__module__ == module.__name__
199 self.assertEqual(cET.SubElement.__module__, '_elementtree')202 self.assertEqual(cET_alias.SubElement.__module__, '_elementtree')
31 setUpClass.__module__ = func_or_class.__module__
258 return '%s.%s(%s)' % (self.__class__.__module__,289 return '%s.%s(%s)' % (self.__class__.__module__,319 return '%s.%s(%s)' % (self.__class__.__module__,
195 if obj.__module__ == 'builtins':812 self.__module__ = def_mod918 self.__module__ = def_mod1015 self.__module__ = origin.__module__1116 if origin.__module__ == 'builtins':1583 base.__module__ in _PROTO_ALLOWLIST and1584 base.__name__ in _PROTO_ALLOWLIST[base.__module__] or1686 "Cannot subclass {}.Annotated".format(cls.__module__)1791 base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {})2335 n: _type_check(tp, msg, module=tp_dict.__module__)[all …]
712 ns = sys.modules.get(cls.__module__).__dict__715 module = sys.modules.get(cls.__module__)717 ns = sys.modules.get(a_type.__module__).__dict__890 if cls.__module__ in sys.modules:891 globals = sys.modules[cls.__module__].__dict__
77 UnsupportedOperation.__module__ = "io"
94 cls = sys.modules.get(func.__module__)202 if object.__module__ != modname:203 name = object.__module__ + '.' + name644 name, module = object.__name__, sys.modules.get(object.__module__)787 key, modname = base.__name__, base.__module__883 object.__module__))965 object.__module__)997 parents.append(self.classlink(base, object.__module__))1306 def makename(c, m=object.__module__):1344 if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),[all …]
90 ABCMeta.__module__ = 'abc'
110 loader_module = m.__loader__.__module__113 loader_module = m.__spec__.loader.__module__
35 __module__ = 're' variable in error
103 re: __module__,finditer,_expand108 types: __module__,IntType,TypeType
289 name = '%s.%s' % (data.__module__, data.__name__)339 function_name = '%s.%s' % (function.__module__, function.__name__)362 % (data_type.__module__, data_type.__name__)
37 The function's docstring and name are retrieved from the code object. *__module__*64 Return a :term:`borrowed reference` to the *__module__* attribute of the
192 previousModule = previousClass.__module__198 currentModule = test.__class__.__module__
573 init.__module__ = None669 getter.__module__ = None703 getter.__module__ = None733 setter.__module__ = None771 getter.__module__ = None
170 if obj.__class__.__module__ in ('__builtin__', 'builtins'):173 name = obj.__class__.__module__ + '.' + obj.__class__.__name__
94 Added the __module__ attribute to _tkinter classes.385 Deprecation warning is now raised for builtin types without the __module__
136 self.__class__.__module__,
160 if cls.__module__ in ("__builtin__", "builtins"):163 name = cls.__module__ + "." + cls.__name__