(self)
| 1135 | pass |
| 1136 | |
| 1137 | def _check_connected(self): |
| 1138 | if not self._connected: |
| 1139 | # getpeername() will raise ENOTCONN if the socket is really |
| 1140 | # not connected; note that we can be connected even without |
| 1141 | # _connected being set, e.g. if connect() first returned |
| 1142 | # EAGAIN. |
| 1143 | self.getpeername() |
| 1144 | |
| 1145 | def read(self, len=1024, buffer=None): |
| 1146 | """Read up to LEN bytes and return them. |
no test coverage detected