Skip to content

Commit 649cc9d

Browse files
authored
[3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868)
Co-authored-by: Andrew Svetlov <[email protected]>. (cherry picked from commit 3543ddb) Co-authored-by: Illia Volochii <[email protected]>
1 parent 177be52 commit 649cc9d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Doc/library/asyncio-stream.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ and work with streams:
5151
.. coroutinefunction:: open_connection(host=None, port=None, *, \
5252
loop=None, limit=None, ssl=None, family=0, \
5353
proto=0, flags=0, sock=None, local_addr=None, \
54-
server_hostname=None, ssl_handshake_timeout=None)
54+
server_hostname=None, ssl_handshake_timeout=None, \
55+
happy_eyeballs_delay=None, interleave=None)
5556

5657
Establish a network connection and return a pair of
5758
``(reader, writer)`` objects.
@@ -73,6 +74,10 @@ and work with streams:
7374

7475
The *ssl_handshake_timeout* parameter.
7576

77+
.. versionadded:: 3.8
78+
79+
Added *happy_eyeballs_delay* and *interleave* parameters.
80+
7681
.. coroutinefunction:: start_server(client_connected_cb, host=None, \
7782
port=None, *, loop=None, limit=None, \
7883
family=socket.AF_UNSPEC, \

0 commit comments

Comments
 (0)