RE: Operator Overloading Basics
Thanks a lot Fredrik and Tim for your help. Cheers, Mohit -- http://mail.python.org/mailman/listinfo/python-list
Operator Overloading Basics
Hello, I just started out with python( couple of weeks). I have a query regarding Operator Overloading class c1: def __init__(self,value): self.data = ""> def __add__ (self,operand2): self.data += operand2