From: Illia Volochii Date: Mon, 14 Mar 2022 13:15:49 +0000 (+0200) Subject: [3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525... X-Git-Tag: v3.9.11~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=649cc9d688f79765cf052429683b708678c26fbd;p=thirdparty%2FPython%2Fcpython.git [3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868) Co-authored-by: Andrew Svetlov . (cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72) Co-authored-by: Illia Volochii --- diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index bf431cfb8a41..a960b26c8d80 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -51,7 +51,8 @@ and work with streams: .. coroutinefunction:: open_connection(host=None, port=None, *, \ loop=None, limit=None, ssl=None, family=0, \ proto=0, flags=0, sock=None, local_addr=None, \ - server_hostname=None, ssl_handshake_timeout=None) + server_hostname=None, ssl_handshake_timeout=None, \ + happy_eyeballs_delay=None, interleave=None) Establish a network connection and return a pair of ``(reader, writer)`` objects. @@ -73,6 +74,10 @@ and work with streams: The *ssl_handshake_timeout* parameter. + .. versionadded:: 3.8 + + Added *happy_eyeballs_delay* and *interleave* parameters. + .. coroutinefunction:: start_server(client_connected_cb, host=None, \ port=None, *, loop=None, limit=None, \ family=socket.AF_UNSPEC, \