Issue #24357: merge from 3.4

This commit is contained in:
Ned Deily 2015-06-01 19:20:31 -07:00
commit 36a6a6bb3c

View file

@ -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)