MCPcopy Index your code
hub / github.com/RustPython/RustPython / close

Method close

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

Source from the content-addressed store, hash-verified

2557 self.close()
2558
2559 def close(self):
2560 if self.sock is not None:
2561 self.sock.close()
2562 self.sock = None
2563
2564 def stop(self):
2565 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