/third_party/python/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 | 1173 def __subclasscheck__(cls, subclass): member in ExceptionTests.test_badisinstance.Meta
|
D | test_types.py | 725 def __subclasscheck__(cls, sub): member in UnionTests.test_bad_subclasscheck.BadMeta
|
/third_party/python/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 | 121 def __subclasscheck__(cls, subclass): member in ABCMeta
|
D | typing.py | 397 def __subclasscheck__(self, cls): member in _SpecialForm 980 return self.__subclasscheck__(type(obj)) 982 def __subclasscheck__(self, cls): member in _BaseGenericAlias 1137 def __subclasscheck__(self, cls): member in _SpecialGenericAlias 1142 return super().__subclasscheck__(cls) 1243 return self.__subclasscheck__(type(obj)) 1245 def __subclasscheck__(self, cls): member in _UnionGenericAlias 2361 def __subclasscheck__(cls, other): member in _TypedDictMeta 2365 __instancecheck__ = __subclasscheck__
|
/third_party/boost/tools/build/src/build/ |
D | property.py | 78 def __subclasscheck__(self, subclass): member in PropertyMeta
|
/third_party/python/Modules/ |
D | _abc.c | 21 _Py_IDENTIFIER(__subclasscheck__);
|
/third_party/python/Doc/c-api/ |
D | type.rst | 77 :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
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 298 Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when
|
D | 3.10.0rc1.rst | 154 Fix ``__instancecheck__`` and ``__subclasscheck__`` for the union type.
|
D | 3.8.0a1.rst | 5549 Fix C implementation of ``ABC.__subclasscheck__(cls, subclass)`` crashed
|
/third_party/python/Doc/library/ |
D | abc.rst | 102 :meth:`__subclasscheck__` method of the ABC.)
|
D | unittest.mock.rst | 2045 * ``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 259 Modules/_abc.c:PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__) 335 Objects/abstract.c:PyObject_IsSubclass():PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__)
|
/third_party/python/Objects/ |
D | abstract.c | 2725 _Py_IDENTIFIER(__subclasscheck__); in object_issubclass()
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 2175 .. method:: class.__subclasscheck__(self, subclass) 2192 :meth:`~class.__subclasscheck__`, with motivation for this functionality
|
/third_party/python/Misc/ |
D | HISTORY | 16306 match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ 16309 __instancecheck__ / __subclasscheck__ on the tuple rather than on each
|