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