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

Method eof_received

Lib/asyncio/streams.py:281–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

279 reader.feed_data(data)
280
281 def eof_received(self):
282 reader = self._stream_reader
283 if reader is not None:
284 reader.feed_eof()
285 if self._over_ssl:
286 # Prevent a warning in SSLProtocol.eof_received:
287 # "returning true from eof_received()
288 # has no effect when using ssl"
289 return False
290 return True
291
292 def _get_close_waiter(self, stream):
293 return self._closed

Callers

nothing calls this directly

Calls 1

feed_eofMethod · 0.80

Tested by

no test coverage detected