From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:39:34 +0000 (-0700) Subject: [3.12] Remove loop from docstring for asyncio.streams.open_connection (GH-108528... X-Git-Tag: v3.12.1~426 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ab9fdaedb9c6b77c75cb036851332f4d9215748;p=thirdparty%2FPython%2Fcpython.git [3.12] Remove loop from docstring for asyncio.streams.open_connection (GH-108528) (#109941) Remove loop from docstring for asyncio.streams.open_connection (GH-108528) (cherry picked from commit e721f7a95186452339dc9e57630d639d549b2521) Co-authored-by: Tom Gillespie --- diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index 14861dffce3a..aff081a1e0d0 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -66,9 +66,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.