Go with immutable datatype in lieu of mutable datatype

This commit is contained in:
Alex Stokes 2019-11-06 11:25:12 -08:00
parent c30d9ce397
commit fbdd52cfdc
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -45,7 +45,7 @@ async def set_up_nodes_by_transport_and_disc_opt(transport_disc_opt_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
machine."""
bootstrap_node = KademliaServer()