On 8/21/2011 7:41 PM, Chris Angelico wrote:
Agreed. If Python needed a faster alternative to "a=a+1", then I would recommend an "a.inc()" call or something
But looking up the method name, creating a bound method wrapper, and making the call would probably be slower than the syntax;-).
-- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list