(self, outwrap)
| 265 | self.noread() |
| 266 | |
| 267 | def copy_to(self, outwrap): |
| 268 | if self.buf and self.buf[0]: |
| 269 | wrote = outwrap.write(self.buf[0]) |
| 270 | self.buf[0] = self.buf[0][wrote:] |
| 271 | while self.buf and not self.buf[0]: |
| 272 | self.buf.pop(0) |
| 273 | if not self.buf and self.shut_read: |
| 274 | outwrap.nowrite() |
| 275 | |
| 276 | |
| 277 | class Handler: |