MCPcopy Index your code
hub / github.com/python/cpython / __subclasscheck__

Method __subclasscheck__

Lib/typing.py:3928–3933  ·  view source on GitHub ↗
(self, cls)

Source from the content-addressed store, hash-verified

3926 return super().__instancecheck__(inst)
3927
3928 def __subclasscheck__(self, cls):
3929 import warnings
3930 warnings._deprecated(
3931 f"{self.__module__}.{self._name}", remove=self._removal_version
3932 )
3933 return super().__subclasscheck__(cls)
3934
3935 with warnings.catch_warnings(
3936 action="ignore", category=DeprecationWarning

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__subclasscheck__Method · 0.45

Tested by

no test coverage detected