From: Georg Brandl Date: Mon, 5 May 2008 21:06:48 +0000 (+0000) Subject: #2752: fix second example too. X-Git-Tag: v2.6a3~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4;p=python #2752: fix second example too. --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index ad7d4fd385..e3591f6b5b 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):