summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-05 21:06:48 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-05 21:06:48 (GMT)
commit98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4 (patch)
tree66badde30ddbaf6f0ce579b4cc77bde72b50c589 /Doc/library/socket.rst
parentcb63565eb5a363b3c155a4b24a01ffacea1482d7 (diff)
downloadcpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.zip
cpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.tar.gz
cpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.tar.bz2
#2752: fix second example too.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index ad7d4fd..e3591f6 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -846,7 +846,7 @@ sends traffic to the first one connected successfully. ::
import socket
import sys
- HOST = '' # Symbolic name meaning the local host
+ HOST = '' # Symbolic name meaning all available interfaces
PORT = 50007 # Arbitrary non-privileged port
s = None
for res in socket.getaddrinfo(HOST, PORT, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_PASSIVE):