I know what this does (makes k
refer to then actual value instead of last value) but what is this syntax called?
Comes from https://stackoverflow.com/a/215326/2375119
funcs = []
for k in range(10):
funcs.append(lambda k = k: k)
>>> funcs[7]()
7 # not 9