MCPcopy Index your code
hub / github.com/python/cpython / _sock_read_done

Method _sock_read_done

Lib/asyncio/selector_events.py:393–395  ·  view source on GitHub ↗
(self, fd, fut, handle=None)

Source from the content-addressed store, hash-verified

391 return await fut
392
393 def _sock_read_done(self, fd, fut, handle=None):
394 if handle is None or not handle.cancelled():
395 self.remove_reader(fd)
396
397 def _sock_recv(self, fut, sock, n):
398 # _sock_recv() can add itself as an I/O callback if the operation can't

Callers

nothing calls this directly

Calls 2

remove_readerMethod · 0.95
cancelledMethod · 0.45

Tested by

no test coverage detected