Replace 0 with False to match working in documentation. SF 599681.
authorRaymond Hettinger <python@rcn.com>
Sun, 25 Aug 2002 16:36:49 +0000 (16:36 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 25 Aug 2002 16:36:49 +0000 (16:36 +0000)
Lib/SocketServer.py

index 8e605081691de70c3459295788c46699e1630c4a..e1d5ecbd6b7233d2e70df374563c70fab078cf3e 100644 (file)
@@ -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