summaryrefslogtreecommitdiffstats
path: root/Lib/SocketServer.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-08-25 16:36:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-08-25 16:36:49 (GMT)
commitc8f80345126808cd25c77f008b839449a922771f (patch)
tree4f4d78f7054a0b64c463f676aeae4c6fe31538cb /Lib/SocketServer.py
parent7ad09552d09279e48d286cb7a96eea79217746cd (diff)
downloadcpython-c8f80345126808cd25c77f008b839449a922771f.zip
cpython-c8f80345126808cd25c77f008b839449a922771f.tar.gz
cpython-c8f80345126808cd25c77f008b839449a922771f.tar.bz2
Replace 0 with False to match working in documentation. SF 599681.
Diffstat (limited to 'Lib/SocketServer.py')
-rw-r--r--Lib/SocketServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
index 8e60508..e1d5ecb 100644
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -319,7 +319,7 @@ class TCPServer(BaseServer):
request_queue_size = 5
- allow_reuse_address = 0
+ allow_reuse_address = False
def __init__(self, server_address, RequestHandlerClass):
"""Constructor. May be extended, do not override."""
@@ -380,7 +380,7 @@ class UDPServer(TCPServer):
"""UDP server class."""
- allow_reuse_address = 0
+ allow_reuse_address = False
socket_type = socket.SOCK_DGRAM