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

Method __init__

Lib/asyncio/proactor_events.py:185–193  ·  view source on GitHub ↗
(self, loop, sock, protocol, waiter=None,
                 extra=None, server=None, buffer_size=65536)

Source from the content-addressed store, hash-verified

183 """Transport for read pipes."""
184
185 def __init__(self, loop, sock, protocol, waiter=None,
186 extra=None, server=None, buffer_size=65536):
187 self._pending_data_length = -1
188 self._paused = True
189 super().__init__(loop, sock, protocol, waiter, extra, server)
190
191 self._data = bytearray(buffer_size)
192 self._loop.call_soon(self._loop_reading)
193 self._paused = False
194
195 def is_reading(self):
196 return not self._paused and not self._closing

Callers

nothing calls this directly

Calls 3

superClass · 0.85
__init__Method · 0.45
call_soonMethod · 0.45

Tested by

no test coverage detected