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

Method __init__

Lib/asyncio/streams.py:126–133  ·  view source on GitHub ↗
(self, loop=None)

Source from the content-addressed store, hash-verified

124 """
125
126 def __init__(self, loop=None):
127 if loop is None:
128 self._loop = events.get_event_loop()
129 else:
130 self._loop = loop
131 self._paused = False
132 self._drain_waiters = collections.deque()
133 self._connection_lost = False
134
135 def pause_writing(self):
136 assert not self._paused

Callers

nothing calls this directly

Calls 1

get_event_loopMethod · 0.45

Tested by

no test coverage detected