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

Method close

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

Source from the content-addressed store, hash-verified

2836 self.close()
2837
2838 def close(self):
2839 if self.sock is not None:
2840 self.sock.close()
2841 self.sock = None
2842
2843 def stop(self):
2844 self.active = False

Callers 15

runMethod · 0.95
test_makefile_closeMethod · 0.45
closeMethod · 0.45
stopMethod · 0.45
server_params_testFunction · 0.45
listenerMethod · 0.45
test_starttlsMethod · 0.45
test_socketserverMethod · 0.45
test_asyncore_serverMethod · 0.45
test_recv_sendMethod · 0.45
test_nonblocking_sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected