In article <[EMAIL PROTECTED]>,
Christian Ergh <[EMAIL PROTECTED]> wrote:
>Ah, ok, i misunderstood you. Well, to mark it as a syntax error sounds
>good, and at the Moment I would not know a case where this conflicts
>with a implementation.

   Well, you can overload prefix `+` and `-` operators on an
object by defining __pos__ and __neg__ methods, so --a, ++a,
+-a, -+a, +-+a and other similar combinations are actually
good syntax, and as useful as you want them to be.

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

Reply via email to