diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-27 06:18:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 06:18:25 (GMT) |
commit | 0a69de768724639b5f91fcd1434acda7baaf6afd (patch) | |
tree | 39a9e55ebd39dcf187c94fe80cbd488c24ba6f30 /Lib/asyncio/streams.py | |
parent | 8ed9bda5199eccc482b76a69644c9e60504b822a (diff) | |
download | cpython-0a69de768724639b5f91fcd1434acda7baaf6afd.zip cpython-0a69de768724639b5f91fcd1434acda7baaf6afd.tar.gz cpython-0a69de768724639b5f91fcd1434acda7baaf6afd.tar.bz2 |
[3.11] Remove loop from docstring for asyncio.streams.open_connection (GH-108528) (#109942)
Remove loop from docstring for asyncio.streams.open_connection (GH-108528)
(cherry picked from commit e721f7a95186452339dc9e57630d639d549b2521)
Co-authored-by: Tom Gillespie <tgbugs@gmail.com>
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r-- | Lib/asyncio/streams.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index 3d577f1..19d9154 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -67,9 +67,8 @@ async def start_server(client_connected_cb, host=None, port=None, *, positional host and port, with various optional keyword arguments following. The return value is the same as loop.create_server(). - Additional optional keyword arguments are loop (to set the event loop - instance to use) and limit (to set the buffer limit passed to the - StreamReader). + Additional optional keyword argument is limit (to set the buffer + limit passed to the StreamReader). The return value is the same as loop.create_server(), i.e. a Server object which can be used to stop the service. |