kennethreitz/python-guide — pull request #105 by leetrout (2012-03-25 16:37:40+00:00)
Title: Updated style with more explicit examples of truth checking

I feel like the existing example `if not attr: print 'attr is None!'` is very misleading.

Since this is such an opinionated style guide it seems like a great opportunity to link out to the Python documentation on falsey values and give an example of explicitly checking for a value to be None with the `is` keyword.