MCPcopy Index your code
hub / github.com/RustPython/RustPython / write_eof

Method write_eof

Lib/asyncio/selector_events.py:1163–1168  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1161 self._sock.shutdown(socket.SHUT_WR)
1162
1163 def write_eof(self):
1164 if self._closing or self._eof:
1165 return
1166 self._eof = True
1167 if not self._buffer:
1168 self._sock.shutdown(socket.SHUT_WR)
1169
1170 def writelines(self, list_of_data):
1171 if self._eof:

Callers

nothing calls this directly

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected