diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-28 10:39:36 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-28 12:08:29 +0200 |
commit | 1ec4d298984d90672354e7864e35af4100285525 (patch) | |
tree | bba17fc66bef715f50d042c40e37e2707b7e5c8a /examples/installer_test | |
parent | 29edb488705c1498f67ff7c1958b27d617136da0 (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/installer_test')
-rw-r--r-- | examples/installer_test/hello.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py index f8434133e..318512458 100644 --- a/examples/installer_test/hello.py +++ b/examples/installer_test/hello.py @@ -68,7 +68,7 @@ auto_quit = "Nuitka" if is_compiled else "PyInst" if uses_embedding else False class MyWidget(QWidget): def __init__(self): - QWidget.__init__(self) + super().__init__() self.hello = ["Hallo Welt", "你好,世界", "Hei maailma", "Hola Mundo", "Привет мир"] |