PEP 3156: Fix a typo — "ipv4_address" -> "ipv6_address" (#3721)

Typo fix.
This commit is contained in:
ryomahan 2024-03-14 23:28:40 +08:00 committed by GitHub
parent 5c9816838a
commit 9c5494d9e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ usually called implicitly by ``create_connection()``,
format as returned by ``socket.getaddrinfo()``, i.e. a list of format as returned by ``socket.getaddrinfo()``, i.e. a list of
``(address_family, socket_type, socket_protocol, canonical_name, ``(address_family, socket_type, socket_protocol, canonical_name,
address)`` where ``address`` is a 2-tuple ``(ipv4_address, port)`` address)`` where ``address`` is a 2-tuple ``(ipv4_address, port)``
for IPv4 addresses and a 4-tuple ``(ipv4_address, port, flow_info, for IPv4 addresses and a 4-tuple ``(ipv6_address, port, flow_info,
scope_id)`` for IPv6 addresses. If the ``family`` argument is zero scope_id)`` for IPv6 addresses. If the ``family`` argument is zero
or unspecified, the list returned may contain a mixture of IPv4 and or unspecified, the list returned may contain a mixture of IPv4 and
IPv6 addresses; otherwise the addresses returned are constrained by IPv6 addresses; otherwise the addresses returned are constrained by