mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Replace 0 with False to match working in documentation. SF 599681.
This commit is contained in:
parent
7ad09552d0
commit
c8f8034512
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue