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

Method pause_writing

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

Source from the content-addressed store, hash-verified

133 self._connection_lost = False
134
135 def pause_writing(self):
136 assert not self._paused
137 self._paused = True
138 if self._loop.get_debug():
139 logger.debug("%r pauses writing", self)
140
141 def resume_writing(self):
142 assert self._paused

Callers 1

mainMethod · 0.95

Calls 2

get_debugMethod · 0.45
debugMethod · 0.45

Tested by 1

mainMethod · 0.76