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

Method __subclasshook__

Lib/_collections_abc.py:129–132  ·  view source on GitHub ↗
(cls, C)

Source from the content-addressed store, hash-verified

127
128 @classmethod
129 def __subclasshook__(cls, C):
130 if cls is Hashable:
131 return _check_methods(C, "__hash__")
132 return NotImplemented
133
134
135class Awaitable(metaclass=ABCMeta):

Callers

nothing calls this directly

Calls 1

_check_methodsFunction · 0.85

Tested by

no test coverage detected