http://www.python.org/doc/current/lib/module-operator.html says not_(o) __not__(o) Return the outcome of not o. (Note that there is no __not__() method for object instances; only the interpreter core defines this operation. The result is affected by the __nonzero__() and __len__() methods.) // m