8000 Fix a typo in asyncio docs (GH-5721) · python/cpython@aeb5d73 · GitHub
[go: up one dir, main page]

Skip to content

Commit aeb5d73

Browse files
Fix a typo in asyncio docs (GH-5721)
(cherry picked from commit 17ab8f0) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
1 parent afb5e55 commit aeb5d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ Server
10431043
async def main(host, port):
10441044
srv = await asyncio.start_server(
10451045
client_connected, host, port)
1046-
await loop.serve_forever()
1046+
await srv.serve_forever()
10471047

10481048
asyncio.run(main('127.0.0.1', 0))
10491049

0 commit comments

Comments
 (0)
0