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

Method at_eof

Lib/asyncio/streams.py:487–489  ·  view source on GitHub ↗

Return True if the buffer is empty and 'feed_eof' was called.

(self)

Source from the content-addressed store, hash-verified

485 self._wakeup_waiter()
486
487 def at_eof(self):
488 """Return True if the buffer is empty and 'feed_eof' was called."""
489 return self._eof and not self._buffer
490
491 def feed_data(self, data):
492 assert not self._eof, 'feed_data after feed_eof'

Callers 3

test_at_eofMethod · 0.95
chunksMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_at_eofMethod · 0.76
chunksMethod · 0.64