[Python-Dev] cpython (2.7): Issue #24357: Change host in socket.getaddrinfo example to one that

Serhiy Storchaka storchaka at gmail.com
Tue Jun 2 05:46:14 CEST 2015


On 02.06.15 04:58, ned.deily wrote:
> https://hg.python.org/cpython/rev/30da21d2fa4f
> changeset:   96458:30da21d2fa4f
> branch:      2.7
> parent:      96454:5e8fa1b13516
> user:        Ned Deily <nad at acm.org>
> date:        Mon Jun 01 18:45:49 2015 -0700
> summary:
>    Issue #24357: Change host in socket.getaddrinfo example to one that
> does support IPv6 and IPv4; www.python.org currently does not.
>
> files:
>    Doc/library/socket.rst |  8 ++++----
>    1 files changed, 4 insertions(+), 4 deletions(-)
>
>
> diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
> --- a/Doc/library/socket.rst
> +++ b/Doc/library/socket.rst
> @@ -262,12 +262,12 @@
>      method.
>
>      The following example fetches address information for a hypothetical TCP
> -   connection to ``www.python.org`` 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)::

example.org does support IPv6 and IPv4 too, and is not commercial name.




More information about the Python-Dev mailing list