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

Method server_activate

Lib/socketserver.py:481–487  ·  view source on GitHub ↗

Called by constructor to activate the server. May be overridden.

(self)

Source from the content-addressed store, hash-verified

479 self.server_address = self.socket.getsockname()
480
481 def server_activate(self):
482 """Called by constructor to activate the server.
483
484 May be overridden.
485
486 """
487 self.socket.listen(self.request_queue_size)
488
489 def server_close(self):
490 """Called to clean-up the server.

Callers 1

__init__Method · 0.95

Calls 1

listenMethod · 0.45

Tested by

no test coverage detected