mirror of https://github.com/python/cpython
gh-126896: Fix docs about `asyncio.start_server()` (#126897)
This commit is contained in:
parent
9d6366b60d
commit
0c5c80928c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue