/third_party/python/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 109 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C 119 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C 135 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C 145 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C 158 __bases__ = property(getbases) variable in AbstractClass [all …]
|
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 | 82 t = t.__bases__[0] 97 t = t.__bases__[0] 111 t = t.__bases__[0] 126 t = t.__bases__[0] 145 t = t.__bases__[0] 163 t = t.__bases__[0] 3980 D.__bases__ = (C,) 3981 D.__bases__ = (C2,) 3989 del D.__bases__ 3996 D.__bases__ = () [all …]
|
D | test_types.py | 1173 self.assertEqual(C.__bases__, (object,)) 1212 self.assertEqual(C.__bases__, (object,)) 1235 self.assertEqual(D.__bases__, (A,)) 1241 self.assertEqual(L1.__bases__, (list, typing.Generic)) 1246 self.assertEqual(L2.__bases__, (list,)) 1258 self.assertEqual(D.__bases__, (A, B)) 1283 self.assertEqual(D.__bases__, (A1, A2, B1, B2)) 1299 self.assertEqual(D.__bases__, (A1, A2, A3, C, B1, B2))
|
D | test_pyclbr.py | 99 real_bases = [base.__name__ for base in py_item.__bases__]
|
D | audit-tests.py | 173 C.__bases__ = (B,)
|
D | test_genericalias.py | 136 self.assertEqual(C.__bases__, (list,))
|
/third_party/python/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__)
|
D | rpc.py | 589 for super in obj.__bases__:
|
/third_party/python/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()):
|
D | headerregistry.py | 218 self.__class__.__bases__,
|
/third_party/python/Lib/ctypes/test/ |
D | test_repr.py | 20 base = typ.__bases__[0]
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testsentinel.py | 26 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
|
/third_party/python/Lib/ |
D | functools.py | 704 for i, base in enumerate(reversed(cls.__bases__)): 706 boundary = len(cls.__bases__) - i 711 explicit_bases = list(cls.__bases__[:boundary]) 713 other_bases = list(cls.__bases__[boundary:]) 716 issubclass(b, base) for b in cls.__bases__
|
D | abc.py | 171 for scls in cls.__bases__:
|
D | rlcompleter.py | 205 for base in klass.__bases__:
|
D | typing.py | 1334 error = Generic in cls.__bases__ and cls.__name__ != 'Protocol' 1532 cls._is_protocol = any(b is Protocol for b in cls.__bases__) 1581 for base in cls.__bases__: 1957 if val in arg.__bases__ + (arg,):
|
D | inspect.py | 437 for base in object.__bases__: 458 for base in object.__bases__: 1156 results.append((c, c.__bases__)) 1173 if c.__bases__: 1174 for parent in c.__bases__:
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | testing_refleaks.py | 117 new_bases = (ReferenceLeakCheckerMixin,) + test_class.__bases__
|
/third_party/spirv-tools/test/tools/ |
D | spirv_test_framework.py | 84 for superclass in cls.__bases__: 88 for superclass in cls.__bases__:
|
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
D | spirv_test_framework.py | 84 for superclass in cls.__bases__: 88 for superclass in cls.__bases__:
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | spirv_test_framework.py | 84 for superclass in cls.__bases__: 88 for superclass in cls.__bases__:
|
/third_party/python/Doc/c-api/ |
D | object.rst | 227 a :attr:`__bases__` attribute (which must be a tuple of base classes). 247 classes are, by having a :attr:`__bases__` attribute (which must be a tuple
|
/third_party/python/Lib/test/test_asyncio/ |
D | utils.py | 291 return type('TestProtocol', (base,) + base.__bases__, dct)()
|
/third_party/boost/tools/build/src/kernel/ |
D | class.jam | 104 return $(__bases__) ;
|