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

Method write_eof

Lib/asyncio/proactor_events.py:621–626  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

619 return True
620
621 def write_eof(self):
622 if self._closing or self._eof_written:
623 return
624 self._eof_written = True
625 if self._write_fut is None:
626 self._sock.shutdown(socket.SHUT_WR)
627
628
629class BaseProactorEventLoop(base_events.BaseEventLoop):

Callers

nothing calls this directly

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected