(self)
| 488 | self.maybe_close() |
| 489 | |
| 490 | def maybe_close(self): |
| 491 | if self.shut_read and self.shut_write: |
| 492 | # remove the mux's reference to us. The python garbage collector |
| 493 | # will then be able to reap our object. |
| 494 | self.mux.channels[self.channel] = None |
| 495 | |
| 496 | def too_full(self): |
| 497 | return self.mux.too_full |