(cls, C)
| 312 | |
| 313 | @classmethod |
| 314 | def __subclasshook__(cls, C): |
| 315 | if cls is Iterator: |
| 316 | return _check_methods(C, '__iter__', '__next__') |
| 317 | return NotImplemented |
| 318 | |
| 319 | |
| 320 | Iterator.register(bytes_iterator) |
nothing calls this directly
no test coverage detected