def main(host_id="test"):
for host_id, host in [[1, 2]]:
print(host_id, host)
def main(host_id="test"):
for h_id, host in [[1, 2]]:
print(host_id, h_id, host)
Used when a local name is redefining an argument, which might suggest a potential error. This is taken in account only for a handful of name binding operations, such as for iteration, with statement assignment and exception handler assignment.