Remove unnecessary __init__
This commit is contained in:
parent
c176782d16
commit
05f282f698
3
point.py
3
point.py
@ -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())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user