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

Method stop

Lib/test/test_asyncio/functional.py:211–222  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 self._test = test
210
211 def stop(self):
212 try:
213 if self._s2 and self._s2.fileno() != -1:
214 try:
215 self._s2.send(b'stop')
216 except OSError:
217 pass
218 finally:
219 super().stop()
220 self._sock.close()
221 self._s1.close()
222 self._s2.close()
223
224
225 def run(self):

Callers

nothing calls this directly

Calls 5

superClass · 0.85
filenoMethod · 0.45
sendMethod · 0.45
stopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected