(self)
| 1119 | pass |
| 1120 | |
| 1121 | def _check_connected(self): |
| 1122 | if not self._connected: |
| 1123 | # getpeername() will raise ENOTCONN if the socket is really |
| 1124 | # not connected; note that we can be connected even without |
| 1125 | # _connected being set, e.g. if connect() first returned |
| 1126 | # EAGAIN. |
| 1127 | self.getpeername() |
| 1128 | |
| 1129 | def read(self, len=1024, buffer=None): |
| 1130 | """Read up to LEN bytes and return them. |
no test coverage detected