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

Method main

Lib/test/test_asyncio/test_server.py:46–48  ·  view source on GitHub ↗
(srv)

Source from the content-addressed store, hash-verified

44 await writer.wait_closed()
45
46 async def main(srv):
47 async with srv:
48 await srv.serve_forever()
49
50 srv = self.loop.run_until_complete(asyncio.start_server(
51 serve, socket_helper.HOSTv4, 0, start_serving=False))

Callers 1

test_server.pyFile · 0.45

Calls 1

serve_foreverMethod · 0.45

Tested by

no test coverage detected