Hacker News new | ask | show | jobs
by afraca 1174 days ago
Some people might not know this yet, the common idiom is to have the default value be None, and then start your function with checking if it's None and initializing to empty list.