Terry Reedy wrote:
> "Carl Banks" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >> A unary operator has one operand; a binary operator has two
operands;
> >> ternary operator has three operands.  Python has none built-in,
> >
> > Not so fast, my friend.  What about the expression "0.0 < a < 1.0"?
>
> Gee, what about 0.0 < a < 1.0 < b < 2.0?  I see both as synthesized
> multinary operators, but your are right in that this combination does
act
> differently than a+b+c.

It seems that Python has an infinite number of operators.


-- 
CARL BANKS

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to