Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: