> I think it has something to do with passing args to lambda functions, but I could be completely wrong.
No, it's because Python evaluates those default arguments when the function is defined, not each time it is run.
More information about formatting options
> I think it has something
> I think it has something to do with passing args to lambda functions, but I could be completely wrong.
No, it's because Python evaluates those default arguments when the function is defined, not each time it is run.