From 76f07e5e51971f001eccab40f1790e0307350d82 Mon Sep 17 00:00:00 2001 From: Illia Volochii Date: Sun, 13 Mar 2022 01:54:59 +0200 Subject: [PATCH] [3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) Co-authored-by: Andrew Svetlov (cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72) Co-authored-by: Illia Volochii --- Doc/library/asyncio-stream.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 269c3dc80c471d..3558277920c703 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, *, \ 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. @@ -69,6 +70,9 @@ and work with streams: .. versionchanged:: 3.7 Added the *ssl_handshake_timeout* parameter. + .. versionadded:: 3.8 + Added *happy_eyeballs_delay* and *interleave* parameters. + .. versionchanged:: 3.10 Removed the *loop* parameter.