top | item 45009912

(no title)

rand_r | 6 months ago

There is no difference between “def f(x={})” and “def f(x=dict())”, unless you have shadowed the dict builtin. They both have exactly the same subtle bug if you are mutating or return x later.

discuss

order

No comments yet.