[Python-checkins] r62740 - python/trunk/Doc/library/socket.rst

georg.brandl python-checkins at python.org
Mon May 5 23:06:48 CEST 2008


Author: georg.brandl
Date: Mon May  5 23:06:48 2008
New Revision: 62740

Log:
#2752: fix second example too.


Modified:
   python/trunk/Doc/library/socket.rst

Modified: python/trunk/Doc/library/socket.rst
==============================================================================
--- python/trunk/Doc/library/socket.rst	(original)
+++ python/trunk/Doc/library/socket.rst	Mon May  5 23:06:48 2008
@@ -846,7 +846,7 @@
    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):


More information about the Python-checkins mailing list