Replace 0 with False to match working in documentation. SF 599681.
This commit is contained in:
parent
7ad09552d0
commit
c8f8034512
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue