/external/python/cpython3/Lib/test/ |
D | test_genericclass.py | 33 self.assertEqual(D.__mro__, (D, A, C, B, object)) 53 self.assertEqual(D.__mro__, (D, A, B, object)) 58 self.assertEqual(E.__mro__, (E, object)) 73 self.assertEqual(D.__mro__, (D, A, dict, object)) 87 self.assertEqual(D.__mro__, (D, C, dict, object)) 135 self.assertEqual(D.__mro__, (D, A, object)) 282 self.assertEqual(C.__mro__, (C, int, object))
|
D | test_descr.py | 864 self.assertEqual(D.__mro__, (D, dict, C, object)) 897 self.assertEqual(D.__mro__, (D, B, C, A, object)) 901 self.assertEqual(E.__mro__, (E, C, B, A, object)) 925 self.assertEqual(Z.__mro__, (Z, X, B, Y, A, C, object)) 940 self.assertEqual(PedalWheelBoat.__mro__, 942 self.assertEqual(SmallCatamaran.__mro__, 944 self.assertEqual(Pedalo.__mro__, 959 self.assertEqual(EditableScrollablePane.__mro__, 1805 self.assertEqual(A.__mro__, (A, object)) 1807 self.assertEqual(B.__mro__, (B, A, object)) [all …]
|
D | test_abc.py | 408 __mro__ = 42 # __mro__ is not tuple variable in test_factory.TestABC.test_issubclass_bad_arguments.C
|
/external/python/cpython2/Lib/ |
D | copy_reg.py | 61 for base in self.__class__.__mro__: 118 for c in cls.__mro__:
|
D | pkgutil.py | 38 mro = cls.__mro__ 43 mro = cls.__mro__[1:]
|
D | _abcoll.py | 26 return any(attr in B.__dict__ for B in C.__mro__) 43 for B in C.__mro__:
|
/external/python/cpython3/Lib/ |
D | copyreg.py | 56 for base in self.__class__.__mro__: 119 for c in cls.__mro__:
|
D | functools.py | 690 bases = set(cls.__mro__) 700 if typ != other and typ in other.__mro__: 712 found.append([s for s in sub.__mro__ if s in type_set]) 740 if (t in registry and t not in cls.__mro__ 741 and match not in cls.__mro__
|
D | typing.py | 962 for base in reversed(obj.__mro__): 1113 if not any(attr in d.__dict__ for d in cls.__mro__): 1120 for c in self.__mro__: 1129 for c in self.__mro__:
|
D | inspect.py | 480 return cls.__mro__ 537 for base in obj.__mro__: 585 for base in cls.__mro__: 2334 for base in obj.__mro__[:-1]: 2355 if type not in obj.__mro__:
|
/external/tensorflow/tensorflow/tools/docs/ |
D | doc_controls.py | 301 for parent in cls.__mro__[1:]:
|
/external/python/cpython2/Lib/test/ |
D | test_descr.py | 719 self.assertEqual(D.__mro__, (D, dict, C, object)) 753 self.assertEqual(E.__mro__, (E, D, B, A, C, object)) 760 self.assertEqual(F.__mro__, (F, B, C, A, object)) 776 self.assertEqual(M1.__mro__, (M1, C, object)) 794 self.assertEqual(M2.__mro__, (M2, D, C, object)) 806 self.assertEqual(M3.__mro__, (M3, M1, M2, D, C, object)) 842 self.assertEqual(D.__mro__, (D, B, C, A, object)) 846 self.assertEqual(E.__mro__, (E, C, B, A, object)) 870 self.assertEqual(Z.__mro__, (Z, X, B, Y, A, C, object)) 885 self.assertEqual(PedalWheelBoat.__mro__, [all …]
|
D | _mock_backport.py | 163 for base in (obj,) + obj.__mro__: 865 klass = _type.__mro__[1] 2216 for klass in spec.__mro__:
|
/external/python/cpython2/Demo/newmetaclasses/ |
D | Enum.py | 54 for obj in cls.__mro__:
|
/external/python/cpython2/Doc/library/ |
D | abc.rst | 106 if any("__iter__" in B.__dict__ for B in C.__mro__): 121 via the :attr:`~class.__mro__` list) is considered a ``MyIterable`` too.
|
/external/python/cpython2/Tools/framer/framer/ |
D | bases.py | 145 for cls in self.__mro__:
|
/external/scapy/scapy/ |
D | base_classes.py | 197 for cls in newcls.__mro__ if hasattr(cls, "__slots__")
|
/external/python/cpython3/Lib/email/ |
D | contentmanager.py | 41 for typ in type(obj).__mro__:
|
/external/python/cpython3/Doc/library/ |
D | abc.rst | 137 if any("__iter__" in B.__dict__ for B in C.__mro__): 152 via the :attr:`~class.__mro__` list) is considered a ``MyIterable`` too.
|
/external/python/six/ |
D | test_six.py | 736 assert X.__mro__ == (X, Base, Base2, object) 744 assert Y.__mro__ == (Y, X, object)
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 144 for base in (obj,) + obj.__mro__: 909 klass = _type.__mro__[1] 2280 for klass in spec.__mro__:
|
/external/python/mock/mock/ |
D | mock.py | 264 for base in (obj,) + obj.__mro__: 1017 klass = _type.__mro__[1] 2399 for klass in spec.__mro__:
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 357 return type(obj).__mro__[1]
|
/external/scapy/scapy/modules/ |
D | six.py | 542 return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 532 return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
|