(self, fd)
| 128 | self._x_list.add(fd) |
| 129 | |
| 130 | def unregister(self, fd): |
| 131 | if fd in self._r_list: |
| 132 | self._r_list.remove(fd) |
| 133 | if fd in self._w_list: |
| 134 | self._w_list.remove(fd) |
| 135 | if fd in self._x_list: |
| 136 | self._x_list.remove(fd) |
| 137 | |
| 138 | def modify(self, fd, mode): |
| 139 | self.unregister(fd) |