On Tue, Jul 17, 2012 at 2:25 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > It already is part of the collection interface: it is spelled __nonzero__ > (Python 2) or __bool__ (Python 3), and like all dunder methods, it is > called automatically for you when you use the right syntax:
You're still ignoring what I actually said. -- Devin -- http://mail.python.org/mailman/listinfo/python-list