Overriding logical operators?

Andrew Durdin adurdin at gmail.com
Sat Aug 21 18:07:56 EDT 2004


On Sat, 21 Aug 2004 16:06:08 -0500, Chris Siebenmann
<cks at cquest.utoronto.ca> wrote:
> 
>  Conceptually, 'and' and 'or' (and 'not') don't operate on objects:
> they operate on truth values (generally derived from objects).

But in Python, a "truth value" is an object: a bool object.



More information about the Python-list mailing list