(cls, C)
| 271 | |
| 272 | @classmethod |
| 273 | def __subclasshook__(cls, C): |
| 274 | if cls is AsyncGenerator: |
| 275 | return _check_methods(C, '__aiter__', '__anext__', |
| 276 | 'asend', 'athrow', 'aclose') |
| 277 | return NotImplemented |
| 278 | |
| 279 | |
| 280 | AsyncGenerator.register(async_generator) |
nothing calls this directly
no test coverage detected