aboutsummaryrefslogtreecommitdiffstats
path: root/examples/charts/callout
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-28 10:39:36 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-28 12:08:29 +0200
commit1ec4d298984d90672354e7864e35af4100285525 (patch)
treebba17fc66bef715f50d042c40e37e2707b7e5c8a /examples/charts/callout
parent29edb488705c1498f67ff7c1958b27d617136da0 (diff)
Examples: Use new form of super()
Task-number: PYSIDE-1112 Change-Id: Ifcb4da974bdcad7af536404fffdbffc585d3d167 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/charts/callout')
-rw-r--r--examples/charts/callout/callout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/callout/callout.py b/examples/charts/callout/callout.py
index 747f20072..219f44597 100644
--- a/examples/charts/callout/callout.py
+++ b/examples/charts/callout/callout.py
@@ -154,7 +154,7 @@ class Callout(QGraphicsItem):
class View(QGraphicsView):
def __init__(self, parent = None):
- super(View, self).__init__(parent)
+ super().__init__(parent)
self.setScene(QGraphicsScene(self))
self.setDragMode(QGraphicsView.NoDrag)