(self, s)
| 472 | return True |
| 473 | |
| 474 | def write(self, s): |
| 475 | if self.closed: |
| 476 | raise ValueError("write to closed file") |
| 477 | s = str.encode(s, self.encoding, self.errors).decode(self.encoding, self.errors) |
| 478 | return self.shell.write(s, self.tags) |
| 479 | |
| 480 | |
| 481 | class StdInputFile(StdioFile): |