aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/animatedtiles/animatedtiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/animatedtiles/animatedtiles.py')
-rw-r--r--examples/widgets/animation/animatedtiles/animatedtiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.py b/examples/widgets/animation/animatedtiles/animatedtiles.py
index 75458c002..d9198c89a 100644
--- a/examples/widgets/animation/animatedtiles/animatedtiles.py
+++ b/examples/widgets/animation/animatedtiles/animatedtiles.py
@@ -60,7 +60,7 @@ import animatedtiles_rc
# composition and delegate the property.
class Pixmap(QObject):
def __init__(self, pix):
- super(Pixmap, self).__init__()
+ super().__init__()
self.pixmap_item = QGraphicsPixmapItem(pix)
self.pixmap_item.setCacheMode(QGraphicsItem.DeviceCoordinateCache)
@@ -78,7 +78,7 @@ class Button(QGraphicsWidget):
pressed = Signal()
def __init__(self, pixmap, parent=None):
- super(Button, self).__init__(parent)
+ super().__init__(parent)
self._pix = pixmap