MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / run

Method run

tools/python-3.11.9-amd64/Lib/pydoc.py:2496–2507  ·  view source on GitHub ↗

Start the server.

(self)

Source from the content-addressed store, hash-verified

2494 self.docserver = None
2495
2496 def run(self):
2497 """Start the server."""
2498 try:
2499 DocServer.base = http.server.HTTPServer
2500 DocServer.handler = DocHandler
2501 DocHandler.MessageClass = email.message.Message
2502 DocHandler.urlhandler = staticmethod(self.urlhandler)
2503 docsvr = DocServer(self.host, self.port, self.ready)
2504 self.docserver = docsvr
2505 docsvr.serve_until_quit()
2506 except Exception as e:
2507 self.error = e
2508
2509 def ready(self, server):
2510 self.serving = True

Callers 3

listmodulesMethod · 0.45
aproposFunction · 0.45
html_searchFunction · 0.45

Calls 2

serve_until_quitMethod · 0.95
DocServerClass · 0.85

Tested by

no test coverage detected