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

Method __init__

Lib/test/test_ssl.py:2624–2629  ·  view source on GitHub ↗
(self, certfile)

Source from the content-addressed store, hash-verified

2622 raise
2623
2624 def __init__(self, certfile):
2625 self.certfile = certfile
2626 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
2627 self.port = socket_helper.bind_port(sock, '')
2628 asyncore.dispatcher.__init__(self, sock)
2629 self.listen(5)
2630
2631 def handle_accepted(self, sock_obj, addr):
2632 if support.verbose:

Callers

nothing calls this directly

Calls 3

socketMethod · 0.80
__init__Method · 0.45
listenMethod · 0.45

Tested by

no test coverage detected