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

Method write

Lib/test/test_ssl.py:2640–2644  ·  view source on GitHub ↗
(self, bytes)

Source from the content-addressed store, hash-verified

2638 return self.sock.recv(1024)
2639
2640 def write(self, bytes):
2641 if self.sslconn:
2642 return self.sslconn.write(bytes)
2643 else:
2644 return self.sock.send(bytes)
2645
2646 def close(self):
2647 if self.sslconn:

Callers 15

runMethod · 0.95
handle_errorFunction · 0.45
test_randomMethod · 0.45
test_parse_certMethod · 0.45
test_read_writeMethod · 0.45
test_eofMethod · 0.45
test_pendingMethod · 0.45
test_buffer_typesMethod · 0.45
test_unwrapMethod · 0.45

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected