Remove unnecessary __init__

This commit is contained in:
adrienmalin 2018-08-06 12:32:52 +02:00
parent c176782d16
commit 05f282f698

View File

@ -10,9 +10,6 @@ class Point(QtCore.QPoint):
Point of coordinates (x, y) Point of coordinates (x, y)
""" """
def __init__(self, x, y):
super().__init__(x, y)
def __add__(self, o): def __add__(self, o):
return Point(self.x() + o.x(), self.y() + o.y()) return Point(self.x() + o.x(), self.y() + o.y())