10000 Fix a typo in asyncio docs (GH-5721) · miss-islington/cpython@6578fb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6578fb6

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

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