1212#
1313##############################################################################
1414"""Adjustments are tunable parameters."""
15+
1516import getopt
1617import pkgutil
1718import socket
@@ -356,13 +357,13 @@ def __init__(self, **kw):
356357 hp_pairs = []
357358 for i in self .listen :
358359 if ":" in i :
359- ( host , port ) = i .rsplit (":" , 1 )
360+ host , port = i .rsplit (":" , 1 )
360361
361362 # IPv6 we need to make sure that we didn't split on the address
362363 if "]" in port : # pragma: nocover
363- ( host , port ) = (i , str (self .port ))
364+ host , port = (i , str (self .port ))
364365 else :
365- ( host , port ) = (i , str (self .port ))
366+ host , port = (i , str (self .port ))
366367
367368 if WIN : # pragma: no cover
368369 try :
@@ -389,7 +390,7 @@ def __init__(self, **kw):
389390 socket .IPPROTO_TCP ,
390391 socket .AI_PASSIVE ,
391392 ):
392- ( family , socktype , proto , _ , sockaddr ) = s
393+ family , socktype , proto , _ , sockaddr = s
393394
394395 # It seems that getaddrinfo() may sometimes happily return
395396 # the same result multiple times, this of course makes
0 commit comments