(self, s, *args, **kwargs)
| 215 | self._real_fileobj = real_fileobj |
| 216 | |
| 217 | def write(self, s, *args, **kwargs): |
| 218 | self.on_write(s, *args, **kwargs) |
| 219 | return self.coderunner.request_from_main_context(force_refresh=True) |
| 220 | |
| 221 | # Some applications which use curses require that sys.stdout |
| 222 | # have a method called fileno. One example is pwntools. This |