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

Method read

Lib/test/test_ssl.py:2634–2638  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2632 return True
2633
2634 def read(self):
2635 if self.sslconn:
2636 return self.sslconn.read()
2637 else:
2638 return self.sock.recv(1024)
2639
2640 def write(self, bytes):
2641 if self.sslconn:

Callers 15

runMethod · 0.95
test_ssl.pyFile · 0.45
is_ubuntuFunction · 0.45
do_ssl_object_handshakeFunction · 0.45
test_DER_to_PEMMethod · 0.45
test_get_ca_certsMethod · 0.45
test_read_writeMethod · 0.45
test_eofMethod · 0.45
test_pendingMethod · 0.45
test_buffer_typesMethod · 0.45

Calls 1

recvMethod · 0.45

Tested by

no test coverage detected