Bug in __imul__

Andreas Jung andreas at digicool.com
Wed Jul 11 15:43:32 CEST 2001


"Emile van Sebille" <emile at fenx.com> wrote in message
news:9ihg33$irjha$1 at ID-11957.news.dfncis.de...
> Does it bother anyone that
>
> a *= 3 + 4

means a = a * (3+4)
>
> returns a different value from
>
> a = a * 3 + 4

means a = (a*3) + 4

Andreas







More information about the Python-list mailing list