gh-126896: Fix docs about `asyncio.start_server()` (#126897)

This commit is contained in:
beavailable 2024-11-18 03:32:35 +08:00 committed by GitHub
parent 9d6366b60d
commit 0c5c80928c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,8 @@ and work with streams:
family=socket.AF_UNSPEC, \ family=socket.AF_UNSPEC, \
flags=socket.AI_PASSIVE, sock=None, \ flags=socket.AI_PASSIVE, sock=None, \
backlog=100, ssl=None, reuse_address=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) ssl_shutdown_timeout=None, start_serving=True)
Start a socket server. Start a socket server.
@ -128,6 +129,9 @@ and work with streams:
.. versionchanged:: 3.11 .. versionchanged:: 3.11
Added the *ssl_shutdown_timeout* parameter. Added the *ssl_shutdown_timeout* parameter.
.. versionchanged:: 3.13
Added the *keep_alive* parameter.
.. rubric:: Unix Sockets .. rubric:: Unix Sockets