From 1ec4d298984d90672354e7864e35af4100285525 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 28 Apr 2021 10:39:36 +0200 Subject: Examples: Use new form of super() Task-number: PYSIDE-1112 Change-Id: Ifcb4da974bdcad7af536404fffdbffc585d3d167 Reviewed-by: Christian Tismer --- examples/installer_test/hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/installer_test') 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", "Привет мир"] -- cgit v1.2.3