21 Mar
2019
21 Mar
'19
1:06 p.m.
Brandt Bucher wrote:
Before:
tmp = keep.copy() tmp.update(separate) result = function(param=tmp) del tmp
After:
result = f(param=keep+separate)
I'd rewrite this example as: Before: fn(param={**keep, **separate}) After: fn(param=keep + separate) -- Jonathan