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

Method __subclasscheck__

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

Source from the content-addressed store, hash-verified

575 raise TypeError(f"{self} cannot be used with isinstance()")
576
577 def __subclasscheck__(self, cls):
578 raise TypeError(f"{self} cannot be used with issubclass()")
579
580 @_tp_cache
581 def __getitem__(self, parameters):

Callers 3

__subclasscheck__Method · 0.45
__subclasscheck__Method · 0.45
__subclasscheck__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected