aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/cannon/t6.py
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <[email protected]>2021-04-30 17:49:36 +0200
committerCristian Maureira-Fredes <[email protected]>2021-05-05 20:44:49 +0200
commit57e681930f6b4c7c311fc70a66317ef64dee4cb1 (patch)
treebb74a1c956c54be258ccb79eb2e13fdb82107301 /examples/widgets/tutorials/cannon/t6.py
parent36431b071095b8999347df87621bf23ffcc2ac3d (diff)
examples: use exec() instead of exec_()
Change-Id: I07dd4339093be8fcc80e63a2ff0448e998356203 Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/widgets/tutorials/cannon/t6.py')
-rw-r--r--examples/widgets/tutorials/cannon/t6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tutorials/cannon/t6.py b/examples/widgets/tutorials/cannon/t6.py
index e9be01413..c30fbfc6d 100644
--- a/examples/widgets/tutorials/cannon/t6.py
+++ b/examples/widgets/tutorials/cannon/t6.py
@@ -86,4 +86,4 @@ if __name__ == '__main__':
app = QApplication(sys.argv)
widget = MyWidget()
widget.show()
- sys.exit(app.exec_())
+ sys.exit(app.exec())