Alan Franzoni wrote:

>> self.scriptcount = self.scriptcount + 1 => self.scriptcount += 1
> 
> the += operator is syntactic sugar just to save time... if one
> doesn't use it I don't think it's a matter of beauty.

This change can have semantic differences, and so should not be done for
anything except basic, immutable objects (such as integers). As such, it
can't be done automatically.

Tim Delaney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to