News for hackers. Stuff that matters.
Re:Hidden Features of Python by googletron on Wednesday January 25, 2012 @02:56PM (#3511425)
I like the dictionaries have get() method tip; So you dont have to worry about unwanted exceptions in code. Then just check for the None case.

There are no comments on this comment yet.