]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-126896: Fix docs about `asyncio.start_server()` (GH-126897) (GH-126934)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 24 Nov 2024 02:55:58 +0000 (03:55 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Nov 2024 02:55:58 +0000 (18:55 -0800)
gh-126896: Fix docs about `asyncio.start_server()` (GH-126897)
(cherry picked from commit 0c5c80928c476ac0dcb9a053b15a562af899cfba)

Co-authored-by: beavailable <beavailable@proton.me>
Doc/library/asyncio-stream.rst

index 3fdc79b3c6896ca5992d839687614e3ec8f08abe..48f2890c5eef8c4dd58087e6e7bf18ad052b8581 100644 (file)
@@ -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