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

Method writer

Lib/test/test_asyncio/test_events.py:546–548  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

544 w.setblocking(False)
545
546 def writer(data):
547 w.send(data)
548 self.loop.stop()
549
550 data = b'x' * 1024
551 self.loop.add_writer(w.fileno(), writer, data)

Callers

nothing calls this directly

Calls 2

sendMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected