MCPcopy Create free account
hub / github.com/python/cpython / initiate_send

Method initiate_send

Lib/test/support/asyncore.py:518–521  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

516 self.out_buffer = b''
517
518 def initiate_send(self):
519 num_sent = 0
520 num_sent = dispatcher.send(self, self.out_buffer[:65536])
521 self.out_buffer = self.out_buffer[num_sent:]
522
523 def handle_write(self):
524 self.initiate_send()

Callers 2

handle_writeMethod · 0.95
sendMethod · 0.95

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected