Commit 17ab8f0e authored by Andrew Svetlov's avatar Andrew Svetlov Committed by GitHub

Fix a typo in asyncio docs (#5721)

parent 9f422326
......@@ -1043,7 +1043,7 @@ Server
async def main(host, port):
srv = await asyncio.start_server(
client_connected, host, port)
await loop.serve_forever()
await srv.serve_forever()
asyncio.run(main('127.0.0.1', 0))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment