see the last example in this section: http://www.python.org/dev/peps/pep-0008/#pet-peeves