__add__ is called for the + operator __iadd__ is called for the += operator if __iadd__ doesnt exist, fallbacks to __add__
you know what they say for such things: rtfm. -- http://mail.python.org/mailman/listinfo/python-list
__add__ is called for the + operator __iadd__ is called for the += operator if __iadd__ doesnt exist, fallbacks to __add__
you know what they say for such things: rtfm. -- http://mail.python.org/mailman/listinfo/python-list