diff options
author | Georg Brandl <georg@python.org> | 2008-05-05 21:06:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-05 21:06:48 (GMT) |
commit | 98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4 (patch) | |
tree | 66badde30ddbaf6f0ce579b4cc77bde72b50c589 /Doc | |
parent | cb63565eb5a363b3c155a4b24a01ffacea1482d7 (diff) | |
download | cpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.zip cpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.tar.gz cpython-98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4.tar.bz2 |
#2752: fix second example too.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/socket.rst | 2 |
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): |