[Python-Dev] cpython (2.7): Issue #15060: fix typo in socket doc; Patch by anatoly techtonik
Georg Brandl
g.brandl at gmx.net
Thu Jun 14 16:15:41 CEST 2012
Am 13.06.2012 23:59, schrieb sandro.tosi:
> http://hg.python.org/cpython/rev/744fb52ffdf0
> changeset: 77417:744fb52ffdf0
> branch: 2.7
> parent: 77408:60a7b704de5c
> user: Sandro Tosi <sandro.tosi at gmail.com>
> date: Wed Jun 13 23:58:35 2012 +0200
> summary:
> Issue #15060: fix typo in socket doc; Patch by anatoly techtonik
>
> files:
> Doc/library/socket.rst | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
> --- a/Doc/library/socket.rst
> +++ b/Doc/library/socket.rst
> @@ -38,7 +38,7 @@
> :const:`AF_UNIX` address family. A pair ``(host, port)`` is used for the
> :const:`AF_INET` address family, where *host* is a string representing either a
> hostname in Internet domain notation like ``'daring.cwi.nl'`` or an IPv4 address
> -like ``'100.50.200.5'``, and *port* is an integral port number. For
> +like ``'100.50.200.5'``, and *port* is an integer port number. For
> :const:`AF_INET6` address family, a four-tuple ``(host, port, flowinfo,
> scopeid)`` is used, where *flowinfo* and *scopeid* represents ``sin6_flowinfo``
> and ``sin6_scope_id`` member in :const:`struct sockaddr_in6` in C. For
I don't see the typo here, isn't "integral" the adjective form of "integer"?
Georg
More information about the Python-Dev
mailing list