tracks/python/exercises/complex-numbers/complex_numbers.py in trackler-2.2.1.87 vs tracks/python/exercises/complex-numbers/complex_numbers.py in trackler-2.2.1.88

- old
+ new

@@ -1,21 +1,21 @@ class ComplexNumber(object): def __init__(self, real, imaginary): pass - def add(self, other): + def __add__(self, other): pass - def mul(self, other): + def __mul__(self, other): pass - def sub(self, other): + def __sub__(self, other): pass - def div(self, other): + def __truediv__(self, other): pass - def abs(self): + def __abs__(self): pass def conjugate(self): pass