Overriding logical operators?

Terry Reedy tjreedy at udel.edu
Tue Aug 24 01:49:49 EDT 2004


"Greg Ewing" <greg at cosc.canterbury.ac.nz> wrote in message
news:2ovvrmFcu6r6U1 at uni-berlin.de...
> Terry Reedy wrote:
> > I think
> > we need a special term in Python also, such as 'pseudo-op' or 'syntax
> > operator' to flag 'and' and 'or' as importantly different from regular
> > operators.
>
> They're really control structures, like 'if' and 'while'.
> The fact that they happen to look a bit like operators is
> purely coincidental...

Ok, I'll think of them as 'control words' for now.

tjr






More information about the Python-list mailing list