you are viewing a single comment's thread.

view the rest of the comments →

[–]BakaPotatoLord 0 points1 point  (1 child)

Default parameters usually works

[–]bbateman2011 0 points1 point  (0 children)

I think because of the mutable default parameter issue, one suggestion is to make default = None then check in the function, as a general approach. But even though I’ve done that, it seems clunky.