From: Andrew Svetlov Date: Sat, 17 Feb 2018 17:44:35 +0000 (+0200) Subject: Fix a typo in asyncio docs (#5721) X-Git-Tag: v3.8.0a1~2214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17ab8f0e8e2b2f66d11fbb95aa9936544a5e1a9a;p=python Fix a typo in asyncio docs (#5721) --- diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index a19c670d0f..3ee9939192 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -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))