From c8f80345126808cd25c77f008b839449a922771f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 25 Aug 2002 16:36:49 +0000 Subject: [PATCH] Replace 0 with False to match working in documentation. SF 599681. --- Lib/SocketServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index 8e605081691..e1d5ecbd6b7 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