From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 24 Nov 2024 02:55:58 +0000 (+0100) Subject: [3.13] gh-126896: Fix docs about `asyncio.start_server()` (GH-126897) (GH-126934) X-Git-Tag: v3.13.1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8e69fc68d7a62e686ab7df7f4e5a94748fbd7fd;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-126896: Fix docs about `asyncio.start_server()` (GH-126897) (GH-126934) gh-126896: Fix docs about `asyncio.start_server()` (GH-126897) (cherry picked from commit 0c5c80928c476ac0dcb9a053b15a562af899cfba) Co-authored-by: beavailable --- diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 3fdc79b3c689..48f2890c5eef 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -92,7 +92,8 @@ and work with streams: family=socket.AF_UNSPEC, \ flags=socket.AI_PASSIVE, sock=None, \ backlog=100, ssl=None, reuse_address=None, \ - reuse_port=None, ssl_handshake_timeout=None, \ + reuse_port=None, keep_alive=None, \ + ssl_handshake_timeout=None, \ ssl_shutdown_timeout=None, start_serving=True) Start a socket server. @@ -128,6 +129,9 @@ and work with streams: .. versionchanged:: 3.11 Added the *ssl_shutdown_timeout* parameter. + .. versionchanged:: 3.13 + Added the *keep_alive* parameter. + .. rubric:: Unix Sockets