]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Remove loop from docstring for asyncio.streams.open_connection (GH-108528...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Sep 2023 06:18:25 +0000 (23:18 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2023 06:18:25 +0000 (09:18 +0300)
Remove loop from docstring for asyncio.streams.open_connection (GH-108528)
(cherry picked from commit e721f7a95186452339dc9e57630d639d549b2521)

Co-authored-by: Tom Gillespie <tgbugs@gmail.com>
Lib/asyncio/streams.py

index 3d577f127041aa2e948caa7b90ebfcd031bc382b..19d9154b66d027ff6869e78fe1d8e01e245d81b7 100644 (file)
@@ -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.