commit | 98fd03637f35fd92c887e9aa6031d8a8f1d8e6a4 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon May 05 21:06:48 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Mon May 05 21:06:48 2008 +0000 |
tree | 66badde30ddbaf6f0ce579b4cc77bde72b50c589 | |
parent | cb63565eb5a363b3c155a4b24a01ffacea1482d7 [diff] |
#2752: fix second example too.
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 @@ 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):