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

Method _maybe_resume_transport

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

Source from the content-addressed store, hash-verified

476 self._transport = transport
477
478 def _maybe_resume_transport(self):
479 if self._paused and len(self._buffer) <= self._limit:
480 self._paused = False
481 self._transport.resume_reading()
482
483 def feed_eof(self):
484 self._eof = True

Callers 4

readlineMethod · 0.95
readuntilMethod · 0.95
readMethod · 0.95
readexactlyMethod · 0.95

Calls 1

resume_readingMethod · 0.45

Tested by

no test coverage detected