(cls, C)
| 344 | |
| 345 | @classmethod |
| 346 | def __subclasshook__(cls, C): |
| 347 | if cls is Reversible: |
| 348 | return _check_methods(C, "__reversed__", "__iter__") |
| 349 | return NotImplemented |
| 350 | |
| 351 | |
| 352 | class Generator(Iterator): |
nothing calls this directly
no test coverage detected