/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 | 973 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 | 100 def __subclasscheck__(cls, subclass): member in ABCMeta
|
D | typing.py | 334 def __subclasscheck__(self, cls): member in _SpecialForm 697 return self.__subclasscheck__(type(obj)) 699 def __subclasscheck__(self, cls): member in _BaseGenericAlias 825 def __subclasscheck__(self, cls): member in _SpecialGenericAlias 830 return super().__subclasscheck__(cls) 1928 def __subclasscheck__(cls, other): member in _TypedDictMeta 1932 __instancecheck__ = __subclasscheck__
|
/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/cpython2/Doc/library/ |
D | abc.rst | 70 :meth:`__subclasscheck__` method of the ABC.)
|
/external/python/cpython3/Modules/ |
D | _abc.c | 19 _Py_IDENTIFIER(__subclasscheck__);
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 75 :meth:`~class.__subclasscheck__` is not called on *b*. Call
|
D | object.rst | 220 If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 298 Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
|
D | 3.8.0a1.rst | 5549 Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed
|
/external/python/cpython3/Doc/library/ |
D | abc.rst | 102 :meth:`__subclasscheck__` method of the ABC.)
|
D | unittest.mock.rst | 2044 * ``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 264 Modules/_abc.c:PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__) 340 Objects/abstract.c:PyObject_IsSubclass():PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__)
|
D | known.tsv | 1395 Modules/_abc.c - PyId___subclasscheck__ variable _Py_IDENTIFIER(__subclasscheck__) 1396 …ts/abstract.c PyObject_IsSubclass PyId___subclasscheck__ variable _Py_IDENTIFIER(__subclasscheck__)
|
/external/python/cpython3/Objects/ |
D | abstract.c | 2574 _Py_IDENTIFIER(__subclasscheck__); in object_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 | 2117 .. method:: class.__subclasscheck__(self, subclass) 2134 :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
|