MCPcopy Index your code
hub / github.com/RustPython/RustPython / __instancecheck__

Method __instancecheck__

Lib/abc.py:117–119  ·  view source on GitHub ↗

Override for isinstance(instance, cls).

(cls, instance)

Source from the content-addressed store, hash-verified

115 return _abc_register(cls, subclass)
116
117 def __instancecheck__(cls, instance):
118 """Override for isinstance(instance, cls)."""
119 return _abc_instancecheck(cls, instance)
120
121 def __subclasscheck__(cls, subclass):
122 """Override for issubclass(subclass, cls)."""

Callers

nothing calls this directly

Calls 1

_abc_instancecheckFunction · 0.90

Tested by

no test coverage detected