cpython: 744fb52ffdf0 (original) (raw)
Mercurial > cpython
changeset 77417:744fb52ffdf0 2.7
Issue #15060: fix typo in socket doc; Patch by anatoly techtonik [#15060]
Sandro Tosi sandro.tosi@gmail.com | |
---|---|
date | Wed, 13 Jun 2012 23:58:35 +0200 |
parents | 60a7b704de5c |
children | 412c7daed0db |
files | Doc/library/socket.rst |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Doc/library/socket.rst 2 |
line wrap: on
line diff
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -38,7 +38,7 @@ Socket addresses are represented as foll
: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,[](#l1.9) scopeid)
is used, where flowinfo and scopeid represents sin6_flowinfo
and sin6_scope_id
member in :const:struct sockaddr_in6
in C. For