(cls, C)
| 185 | |
| 186 | @classmethod |
| 187 | def __subclasshook__(cls, C): |
| 188 | if cls is Coroutine: |
| 189 | return _check_methods(C, '__await__', 'send', 'throw', 'close') |
| 190 | return NotImplemented |
| 191 | |
| 192 | |
| 193 | Coroutine.register(coroutine) |
nothing calls this directly
no test coverage detected