aboutsummaryrefslogtreecommitdiffstats
path: root/examples/texttospeech/hello_speak/hello_speak.py
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/texttospeech/hello_speak/hello_speak.py
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/texttospeech/hello_speak/hello_speak.py')
-rw-r--r--examples/texttospeech/hello_speak/hello_speak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/texttospeech/hello_speak/hello_speak.py b/examples/texttospeech/hello_speak/hello_speak.py
index b5f2cc84b..dee43c8e8 100644
--- a/examples/texttospeech/hello_speak/hello_speak.py
+++ b/examples/texttospeech/hello_speak/hello_speak.py
@@ -50,7 +50,7 @@ from PySide6.QtTextToSpeech import QTextToSpeech
class MainWindow(QMainWindow):
def __init__(self):
- super(MainWindow, self).__init__()
+ super().__init__()
centralWidget = QWidget()
self.setCentralWidget(centralWidget)