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

Method close

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

Source from the content-addressed store, hash-verified

2365 return self.sock.send(bytes)
2366
2367 def close(self):
2368 if self.sslconn:
2369 self.sslconn.close()
2370 else:
2371 self.sock.close()
2372
2373 def run(self):
2374 self.running = True

Callers 4

wrap_connMethod · 0.95
runMethod · 0.95
handle_readMethod · 0.95
handle_closeMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected