(self)
| 1147 | pass |
| 1148 | |
| 1149 | def _check_connected(self): |
| 1150 | if not self._connected: |
| 1151 | # getpeername() will raise ENOTCONN if the socket is really |
| 1152 | # not connected; note that we can be connected even without |
| 1153 | # _connected being set, e.g. if connect() first returned |
| 1154 | # EAGAIN. |
| 1155 | self.getpeername() |
| 1156 | |
| 1157 | def read(self, len=1024, buffer=None): |
| 1158 | """Read up to LEN bytes and return them. |
no test coverage detected