MCPcopy Index your code
hub / github.com/python/cpython / serve_until_quit

Method serve_until_quit

Lib/pydoc.py:2377–2382  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2375 self.quit = False
2376
2377 def serve_until_quit(self):
2378 while not self.quit:
2379 rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
2380 if rd:
2381 self.handle_request()
2382 self.server_close()
2383
2384 def server_activate(self):
2385 self.base.server_activate(self)

Callers 1

runMethod · 0.95

Calls 4

selectMethod · 0.45
filenoMethod · 0.45
handle_requestMethod · 0.45
server_closeMethod · 0.45

Tested by

no test coverage detected