]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126896: Fix docs about `asyncio.start_server()` (#126897)
authorbeavailable <beavailable@proton.me>
Sun, 17 Nov 2024 19:32:35 +0000 (03:32 +0800)
committerGitHub <noreply@github.com>
Sun, 17 Nov 2024 19:32:35 +0000 (11:32 -0800)
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