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

Method __instancecheck__

Lib/typing.py:3921–3926  ·  view source on GitHub ↗
(self, inst)

Source from the content-addressed store, hash-verified

3919 self._removal_version = removal_version
3920
3921 def __instancecheck__(self, inst):
3922 import warnings
3923 warnings._deprecated(
3924 f"{self.__module__}.{self._name}", remove=self._removal_version
3925 )
3926 return super().__instancecheck__(inst)
3927
3928 def __subclasscheck__(self, cls):
3929 import warnings

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__instancecheck__Method · 0.45

Tested by

no test coverage detected