在python中定义类时、运算符重载,运算符重载python自定义类
say I want to overload an operator (lets say + for now) for some class I've created,class A (object):#code hereand then:a = A()b = A()what would I do to define:c = a + bor something along those lines?...