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

Method __subclasshook__

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

Source from the content-addressed store, hash-verified

203
204 @classmethod
205 def __subclasshook__(cls, C):
206 if cls is AsyncIterable:
207 return _check_methods(C, "__aiter__")
208 return NotImplemented
209
210 __class_getitem__ = classmethod(GenericAlias)
211

Callers

nothing calls this directly

Calls 1

_check_methodsFunction · 0.85

Tested by

no test coverage detected