[Python-Dev] cpython (2.7): Issue #15060: fix typo in socket doc; Patch by anatoly techtonik
MRAB
python at mrabarnett.plus.com
Thu Jun 14 16:48:27 CEST 2012
On 14/06/2012 15:15, Georg Brandl wrote:
> 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"?
>
Yes, although it also means "necessary and important as a part of", and
as it's talking about a Python type (class), I think that "integer"
would be clearer, IHMO.
More information about the Python-Dev
mailing list