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