Go with immutable datatype in lieu of mutable datatype
This commit is contained in:
parent
c30d9ce397
commit
fbdd52cfdc
|
@ -45,7 +45,7 @@ async def set_up_nodes_by_transport_and_disc_opt(transport_disc_opt_list):
|
||||||
return tuple(nodes_list)
|
return tuple(nodes_list)
|
||||||
|
|
||||||
|
|
||||||
async def set_up_routers(router_confs=[0, 0]):
|
async def set_up_routers(router_confs=(0, 0)):
|
||||||
"""The default ``router_confs`` selects two free ports local to this
|
"""The default ``router_confs`` selects two free ports local to this
|
||||||
machine."""
|
machine."""
|
||||||
bootstrap_node = KademliaServer()
|
bootstrap_node = KademliaServer()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user