eric6/Graphics/UMLItem.py

changeset 8218
7c09585bd960
parent 8207
d359172d11be
child 8243
cc717c2ae956
--- a/eric6/Graphics/UMLItem.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/Graphics/UMLItem.py	Sat Apr 10 18:38:27 2021 +0200
@@ -59,7 +59,7 @@
         @param parent reference to the parent object
         @type QGraphicsItem
         """
-        super(UMLItem, self).__init__(parent)
+        super().__init__(parent)
         self.model = model
         
         if colors is None:
@@ -156,7 +156,7 @@
         @param dx relative movement in x-direction (float)
         @param dy relative movement in y-direction (float)
         """
-        super(UMLItem, self).moveBy(dx, dy)
+        super().moveBy(dx, dy)
         self.adjustAssociations()
     
     def setPos(self, x, y):
@@ -166,7 +166,7 @@
         @param x absolute x-position (float)
         @param y absolute y-position (float)
         """
-        super(UMLItem, self).setPos(x, y)
+        super().setPos(x, y)
         self.adjustAssociations()
     
     def itemChange(self, change, value):

eric ide

mercurial