Replace 0 with False to match working in documentation. SF 599681.
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 @@
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 @@
"""UDP server class."""
- allow_reuse_address = 0
+ allow_reuse_address = False
socket_type = socket.SOCK_DGRAM