logoalt Hacker News

Revisional_Sintoday at 8:58 AM0 repliesview on HN

It's best practice to avoid mutable defaults even if you're not planning to mutate the argument.

It's just slightly annoying having to work around this by defaulting to None.