HomeSort by relevance Sort by last modified time
    Searched refs:__bases__ (Results 1 - 25 of 154) sorted by null

1 2 3 4 5 6 7

  /external/chromium-trace/catapult/common/py_utils/py_utils/
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]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/
loosing_mro_ref.py 15 X.__bases__ = (Base2,)
  /external/python/cpython2/Lib/test/crashers/
loosing_mro_ref.py 15 X.__bases__ = (Base2,)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/
Enum.py 43 self.__bases__ = bases
69 for base in self.__bases__:
79 if self.__bases__:
81 self.__bases__), ", ") + ')'
Meta.py 61 self.__bases__ = bases
69 for base in self.__bases__:
Simple.py 7 self.__bases__ = bases
  /external/python/cpython2/Demo/metaclasses/
Enum.py 43 self.__bases__ = bases
69 for base in self.__bases__:
79 if self.__bases__:
81 self.__bases__), ", ") + ')'
Meta.py 61 self.__bases__ = bases
69 for base in self.__bases__:
  /external/python/cpython3/Lib/unittest/test/testmock/
testsentinel.py 24 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases)
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /external/python/cpython2/Lib/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /external/python/cpython3/Lib/test/
test_isinstance.py 19 # - cls has a __bases__ attribute
21 # - inst.__class__ as no __bases__ attribute
24 # extension type raises an AttributeError when its __bases__ attribute is
29 # This must return an object that has no __bases__ attribute
36 __bases__ = property(getbases)
40 # Like above except that inst.__class__.__bases__ raises an exception
46 __bases__ = property(getbases)
56 __bases__ = property(getbases)
60 # Here's a situation where getattr(cls, '__bases__') raises an exception.
68 __bases__ = property(getbases
35 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
45 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
55 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
67 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
79 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
107 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
117 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
133 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
143 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
156 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_isinstance.py 21 # - cls has a __bases__ attribute
23 # - inst.__class__ as no __bases__ attribute
26 # extension type raises an AttributeError when its __bases__ attribute is
31 # This must return an object that has no __bases__ attribute
38 __bases__ = property(getbases)
42 # Like above except that inst.__class__.__bases__ raises an exception
48 __bases__ = property(getbases)
58 __bases__ = property(getbases)
62 # Here's a situation where getattr(cls, '__bases__') raises an exception.
70 __bases__ = property(getbases
37 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in class:TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in class:TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in class:AbstractClass
    [all...]
  /external/python/cpython2/Lib/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /external/python/cpython3/Lib/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_repr.py 20 base = typ.__bases__[0]
  /external/python/cpython3/Lib/idlelib/
debugobj.py 64 if len(self.object.__bases__) == 1:
65 item = make_objecttreeitem("__bases__[0] =",
66 self.object.__bases__[0])
68 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
cmdfw.py 102 if not c.__bases__:
104 c = c.__bases__[0]
  /external/python/cpython2/Demo/pdist/
cmdfw.py 102 if not c.__bases__:
104 c = c.__bases__[0]

Completed in 454 milliseconds

1 2 3 4 5 6 7