From 8a22b0605c77cd8e047fb69c266998c32f594a51 Mon Sep 17 00:00:00 2001 From: Illia Volochii Date: Sat, 13 Feb 2021 17:17:33 +0200 Subject: [PATCH 1/2] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection --- Doc/library/asyncio-stream.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index ad3c7442ad56cd..e6ae3ff1653a09 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. @@ -66,6 +67,10 @@ and work with streams: The rest of the arguments are passed directly to :meth:`loop.create_connection`. + .. versionadded:: 3.8 + + The *happy_eyeballs_delay* and *interleave* parameters. + .. versionadded:: 3.7 The *ssl_handshake_timeout* parameter. From 75516c4bc7a2582f65b659f809057a8901020613 Mon Sep 17 00:00:00 2001 From: Illia Volochii Date: Sun, 4 Jul 2021 20:16:05 +0300 Subject: [PATCH 2/2] Order versionadded directives of asyncio.open_connection --- Doc/library/asyncio-stream.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 33564e108c6975..42d6285c670c0f 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -67,14 +67,14 @@ and work with streams: The rest of the arguments are passed directly to :meth:`loop.create_connection`. - .. versionadded:: 3.8 - - The *happy_eyeballs_delay* and *interleave* parameters. - .. versionadded:: 3.7 The *ssl_handshake_timeout* parameter. + .. versionadded:: 3.8 + + The *happy_eyeballs_delay* and *interleave* parameters. + .. deprecated-removed:: 3.8 3.10 The ``loop`` parameter. This function has been implicitly getting the