Fix a typo in asyncio docs (GH-5721)

(cherry picked from commit 17ab8f0e8e)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-02-17 10:02:46 -08:00 committed by GitHub
parent afb5e55836
commit aeb5d73b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))