Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11cf4f6

Browse files
committed
Issue #24357: use example.org instead
1 parent 834f029 commit 11cf4f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/socket.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,14 @@ The :mod:`socket` module also offers various network-related services:
461461
method.
462462

463463
The following example fetches address information for a hypothetical TCP
464-
connection to ``google.com`` on port 80 (results may differ on your
464+
connection to ``example.org`` on port 80 (results may differ on your
465465
system if IPv6 isn't enabled)::
466466

467-
>>> socket.getaddrinfo("google.com", 80, proto=socket.IPPROTO_TCP)
467+
>>> socket.getaddrinfo("example.org", 80, proto=socket.IPPROTO_TCP)
468468
[(<AddressFamily.AF_INET6: 10>, <SocketType.SOCK_STREAM: 1>,
469-
6, '', ('2607:f8b0:4005:803::200e', 80, 0, 0)),
469+
6, '', ('2606:2800:220:1:248:1893:25c8:1946', 80, 0, 0)),
470470
(<AddressFamily.AF_INET: 2>, <SocketType.SOCK_STREAM: 1>,
471-
6, '', ('216.58.192.46', 80))]
471+
6, '', ('93.184.216.34', 80))]
472472

473473
.. versionchanged:: 3.2
474474
parameters can now be passed using keyword arguments.

0 commit comments

Comments
 (0)