mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #24357: merge from 3.4
This commit is contained in:
commit
36a6a6bb3c
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ The :mod:`socket` module also offers various network-related services:
|
||||||
method.
|
method.
|
||||||
|
|
||||||
The following example fetches address information for a hypothetical TCP
|
The following example fetches address information for a hypothetical TCP
|
||||||
connection to ``google.com` on port 80 (results may differ on your
|
connection to `google.com` on port 80 (results may differ on your
|
||||||
system if IPv6 isn't enabled)::
|
system if IPv6 isn't enabled)::
|
||||||
|
|
||||||
>>> socket.getaddrinfo("google.com", 80, proto=socket.IPPROTO_TCP)
|
>>> socket.getaddrinfo("google.com", 80, proto=socket.IPPROTO_TCP)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue