mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
parent
d9db07a310
commit
3543ddb4c4
1 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue