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

Method feed_eof

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

Source from the content-addressed store, hash-verified

481 self._transport.resume_reading()
482
483 def feed_eof(self):
484 self._eof = True
485 self._wakeup_waiter()
486
487 def at_eof(self):
488 """Return True if the buffer is empty and 'feed_eof' was called."""

Callers 10

test_at_eofMethod · 0.95
test_readline_eofMethod · 0.95
test_readuntil_eofMethod · 0.95
test___repr__eofMethod · 0.95
test_readlineMethod · 0.95
pipe_connection_lostMethod · 0.80
connection_lostMethod · 0.80
eof_receivedMethod · 0.80
cbMethod · 0.80

Calls 1

_wakeup_waiterMethod · 0.95

Tested by 7

test_at_eofMethod · 0.76
test_readline_eofMethod · 0.76
test_readuntil_eofMethod · 0.76
test___repr__eofMethod · 0.76
test_readlineMethod · 0.76
cbMethod · 0.64