/external/python/cpython2/Lib/test/ |
D | test_typechecks.py | 11 return any(cls.__subclasscheck__(c) 14 def __subclasscheck__(cls, sub): member in ABC 35 self.assertEqual(Integer.__subclasscheck__(int), True) 36 self.assertEqual(Integer.__subclasscheck__(float), False) 79 def __subclasscheck__(self, cls): member in TypeChecksTest.test_oldstyle.X
|
D | test_exceptions.py | 449 def __subclasscheck__(cls, subclass): member in ExceptionTests.test_badisinstance.Meta
|
/external/python/cpython3/Lib/test/ |
D | test_typechecks.py | 10 return any(cls.__subclasscheck__(c) 13 def __subclasscheck__(cls, sub): member in ABC 30 self.assertEqual(Integer.__subclasscheck__(int), True) 31 self.assertEqual(Integer.__subclasscheck__(float), False)
|
D | test_exceptions.py | 913 def __subclasscheck__(cls, subclass): member in ExceptionTests.test_badisinstance.Meta
|
/external/python/cpython2/Lib/ |
D | abc.py | 144 return cls.__subclasscheck__(subtype) 145 return (cls.__subclasscheck__(subclass) or 146 cls.__subclasscheck__(subtype)) 148 def __subclasscheck__(cls, subclass): member in ABCMeta
|
/external/python/cpython3/Lib/ |
D | _py_abc.py | 105 return cls.__subclasscheck__(subclass) 106 return any(cls.__subclasscheck__(c) for c in (subclass, subtype)) 108 def __subclasscheck__(cls, subclass): member in ABCMeta
|
D | abc.py | 141 def __subclasscheck__(cls, subclass): member in ABCMeta
|
D | typing.py | 334 def __subclasscheck__(self, cls): member in _SpecialForm 708 return self.__subclasscheck__(type(obj)) 710 def __subclasscheck__(self, cls): member in _GenericAlias 1100 def __subclasscheck__(self, cls): member in _ProtocolMeta
|
/external/python/cpython2/Doc/c-api/ |
D | type.rst | 75 :meth:`~class.__subclasscheck__` is not called on *b*. Call
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6rc1.rst | 82 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the 85 __subclasscheck__ on the tuple rather than on each type object.
|
D | 2.7a1.rst | 591 ``__instancecheck__()`` and ``__subclasscheck__()`` are now completely
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 75 :meth:`~class.__subclasscheck__` is not called on *b*. Call
|
D | object.rst | 219 If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to
|
/external/python/cpython2/Doc/library/ |
D | abc.rst | 70 :meth:`__subclasscheck__` method of the ABC.)
|
/external/python/cpython3/Modules/ |
D | _abc.c | 20 _Py_IDENTIFIER(__subclasscheck__);
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 298 Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
|
/external/python/cpython3/Doc/library/ |
D | abc.rst | 102 :meth:`__subclasscheck__` method of the ABC.)
|
D | unittest.mock.rst | 1720 * ``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``
|
/external/python/cpython3/Objects/ |
D | abstract.c | 2449 _Py_IDENTIFIER(__subclasscheck__); in PyObject_IsSubclass()
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 1810 .. method:: class.__subclasscheck__(self, subclass) 1827 :meth:`~class.__subclasscheck__`, with motivation for this functionality
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 2030 .. method:: class.__subclasscheck__(self, subclass) 2047 :meth:`~class.__subclasscheck__`, with motivation for this functionality
|
/external/python/cpython3/Misc/ |
D | HISTORY | 16306 match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ 16309 __instancecheck__ / __subclasscheck__ on the tuple rather than on each
|