Skip to content

Commit

Permalink
[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connec…
Browse files Browse the repository at this point in the history
…tion (GH-24525) (GH-31869)

Co-authored-by: Andrew Svetlov <[email protected]>
(cherry picked from commit 3543ddb)

Co-authored-by: Illia Volochii <[email protected]>
  • Loading branch information
illia-v authored Mar 14, 2022
1 parent d929aa7 commit c682840
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Doc/library/asyncio-stream.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

Expand Down

0 comments on commit c682840

Please sign in to comment.