Duncan Booth wrote: > I don't see that. What I suggested was that a % b % c would map to > a.__mod__(b,c). (a % b) % c would also map to that, but a % (b % c) could > only possibly map to a.__mod__(b.__mod__(c))
There's a compiling problem here, no? You don't want a%b%c to implement as a.__mod__(b,c) if a is a number. Mel. -- http://mail.python.org/mailman/listinfo/python-list