(cls, C)
| 142 | |
| 143 | @classmethod |
| 144 | def __subclasshook__(cls, C): |
| 145 | if cls is Awaitable: |
| 146 | return _check_methods(C, "__await__") |
| 147 | return NotImplemented |
| 148 | |
| 149 | __class_getitem__ = classmethod(GenericAlias) |
| 150 |
nothing calls this directly
no test coverage detected