On Fri, Aug 7, 2009 at 8:00 AM, dmitrey<dmitrey.kros...@scipy.org> wrote:
> hi all,
> is it possible to overload operator "<  <"? (And other like this one,
> eg "<=  <=", ">  >", ">=  >=")
> Any URL/example?
> Thank you in advance, D.

That isn't an operator at all. Python does not support compound
comparisons like that. You have to do "a > b and b > c".
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to