Skip to content

Commit

Permalink
Fixed connect_tcp() docstring referencing a nonexistent parameter (ag…
Browse files Browse the repository at this point in the history
  • Loading branch information
gschaffner committed Oct 21, 2022
1 parent 0edcd51 commit add8313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/anyio/_core/_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def connect_tcp(
"""
Connect to a host using the TCP protocol.
This function implements the stateless version of the Happy Eyeballs algorithm
(RFC 6555). If ``address`` is a host name that resolves to multiple IP addresses,
This function implements the stateless version of the Happy Eyeballs algorithm (RFC
6555). If ``remote_host`` is a host name that resolves to multiple IP addresses,
each one is tried until one connection attempt succeeds. If the first attempt does
not connected within 250 milliseconds, a second attempt is started using the next
address in the list, and so on. On IPv6 enabled systems, an IPv6 address (if
Expand Down

0 comments on commit add8313

Please sign in to comment.