/external/python/cpython3/Lib/test/ |
D | test_isinstance.py | 35 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_class_has_no_bases.C 45 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E 55 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C 67 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C 79 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_mask_attribute_error.C 107 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C 117 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C 133 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C 143 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C 156 __bases__ = property(getbases) variable in AbstractClass
|
D | test_genericclass.py | 31 self.assertEqual(D.__bases__, (A, C, B)) 37 self.assertEqual(E.__bases__, (D,)) 51 self.assertEqual(D.__bases__, (A, B)) 56 self.assertEqual(E.__bases__, (object,)) 71 self.assertEqual(D.__bases__, (A, dict)) 85 self.assertEqual(D.__bases__, (C, dict)) 133 self.assertEqual(D.__bases__, (A,)) 280 self.assertEqual(C.__bases__, (int,))
|
D | test_descr.py | 75 t = t.__bases__[0] 90 t = t.__bases__[0] 104 t = t.__bases__[0] 119 t = t.__bases__[0] 138 t = t.__bases__[0] 156 t = t.__bases__[0] 3876 D.__bases__ = (C,) 3877 D.__bases__ = (C2,) 3885 del D.__bases__ 3892 D.__bases__ = () [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_isinstance.py | 37 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_class_has_no_bases.C 47 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E 57 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C 69 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C 81 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_mask_attribute_error.C 95 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C 105 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C 121 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C 131 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C 144 __bases__ = property(getbases) variable in AbstractClass
|
D | test_descr.py | 78 t = t.__bases__[0] 99 t = t.__bases__[0] 113 t = t.__bases__[0] 128 t = t.__bases__[0] 147 t = t.__bases__[0] 165 t = t.__bases__[0] 4110 D.__bases__ = (C,) 4111 D.__bases__ = (C2,) 4119 del D.__bases__ 4126 D.__bases__ = () [all …]
|
/external/python/cpython2/Demo/metaclasses/ |
D | Enum.py | 43 self.__bases__ = bases 69 for base in self.__bases__: 79 if self.__bases__: 81 self.__bases__), ", ") + ')'
|
D | Meta.py | 61 self.__bases__ = bases 69 for base in self.__bases__:
|
D | Trace.py | 24 self.__bases__ = bases 33 for base in self.__bases__:
|
D | Simple.py | 7 self.__bases__ = bases
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | class_util.py | 17 if parent_cls in child_cls.__bases__: 24 base_cls = [cls for cls in child_cls.__bases__ if cls and cls != object]
|
/external/python/cpython2/Lib/idlelib/ |
D | ObjectBrowser.py | 76 if len(self.object.__bases__) == 1: 78 self.object.__bases__[0]) 80 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
|
/external/python/cpython3/Lib/idlelib/ |
D | debugobj.py | 64 if len(self.object.__bases__) == 1: 66 self.object.__bases__[0]) 68 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
|
/external/python/cpython2/Demo/pdist/ |
D | cmdfw.py | 102 if not c.__bases__: 104 c = c.__bases__[0]
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message.py | 375 secondary_frag_parent_cls = secondary_frag_cls.__bases__[1] 377 message_parent_cls = message_cls.__bases__[1] 380 message_parent_cls = message_cls.__bases__[1]
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/ |
D | TestLauncher.py | 131 if ExclusiveCriterion in criterionClass.__bases__: 148 if ExclusiveCriterion in criterion.__class__.__bases__:
|
/external/python/cpython2/Lib/test/crashers/ |
D | loosing_mro_ref.py | 15 X.__bases__ = (Base2,)
|
/external/python/cpython3/Lib/email/ |
D | _policybase.py | 101 cls.__doc__ = _append_doc(cls.__bases__[0].__doc__, cls.__doc__) 104 for c in (c for base in cls.__bases__ for c in base.mro()):
|
/external/python/cpython3/Lib/ |
D | functools.py | 655 for i, base in enumerate(reversed(cls.__bases__)): 657 boundary = len(cls.__bases__) - i 662 explicit_bases = list(cls.__bases__[:boundary]) 664 other_bases = list(cls.__bases__[boundary:]) 667 issubclass(b, base) for b in cls.__bases__
|
/external/python/mock/mock/tests/ |
D | testsentinel.py | 29 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_repr.py | 20 base = typ.__bases__[0]
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_repr.py | 20 base = typ.__bases__[0]
|
/external/python/cpython2/Lib/distutils/tests/ |
D | setuptools_extension.py | 11 cls, = cls.__bases__
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testsentinel.py | 26 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
|
/external/deqp-deps/SPIRV-Tools/test/tools/ |
D | spirv_test_framework.py | 86 for superclass in cls.__bases__: 90 for superclass in cls.__bases__:
|
/external/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | spirv_test_framework.py | 86 for superclass in cls.__bases__: 90 for superclass in cls.__bases__:
|