(self, size: int = -1)
| 48 | self.eof = True |
| 49 | |
| 50 | def read(self, size: int = -1) -> bytes: |
| 51 | if not self.eof: |
| 52 | raise UnsupportedOperation( |
| 53 | "can not read from WriteCatcher while not closed for writing") |
| 54 | return super().read(size) |
| 55 | |
| 56 | |
| 57 | class CodegenDirWrapper(Wrapper): |
no outgoing calls