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

Method at_eof

Lib/asyncio/streams.py:489–491  ·  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

487 self._wakeup_waiter()
488
489 def at_eof(self):
490 """Return True if the buffer is empty and 'feed_eof' was called."""
491 return self._eof and not self._buffer
492
493 def feed_data(self, data):
494 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