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

Method send

Lib/test/test_asyncio/test_ssl.py:1555–1558  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1553 return getattr(self.sock, name)
1554
1555 def send(self, data):
1556 # Fake that our write buffer is full, send only half
1557 to_send = len(data)//2
1558 return self.sock.send(data[:to_send])
1559
1560 def _fake_full_write_buffer(data):
1561 if socket_transport._read_ready_cb is None and not isinstance(socket_transport._sock, SocketWrapper):

Callers 5

progMethod · 0.45
serverMethod · 0.45
doMethod · 0.45
eof_serverMethod · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected