News for hackers. Stuff that matters.
Re:Python quirks by brownbat on Friday July 12, 2013 @10:15PM (#6036431)
You can use a sentinel if you want to allow None as an argument. More on that, along with a way to use mutable defaults productively:

http://effbot.org/zone/default-values.htm

There are no comments on this comment yet.