Override 'and' and 'or'

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Oct 7 10:19:00 EDT 2007


On Sun, 07 Oct 2007 13:52:15 +0000, Dekker wrote:

> Is it possible to override 'and' and/or 'or'?

Not without hacking the Python source code, in which case what you've got 
is no longer Python.

Why do you want to do so?


-- 
Steven.



More information about the Python-list mailing list