aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tutorial/t10.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial/t10.py')
-rw-r--r--examples/tutorial/t10.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorial/t10.py b/examples/tutorial/t10.py
index f49faa1b4..baf3884aa 100644
--- a/examples/tutorial/t10.py
+++ b/examples/tutorial/t10.py
@@ -105,7 +105,7 @@ class CannonField(QtWidgets.QWidget):
if angle < 5:
angle = 5
if angle > 70:
- angle = 70;
+ angle = 70
if self.currentAngle == angle:
return
self.currentAngle = angle
@@ -121,7 +121,7 @@ class CannonField(QtWidgets.QWidget):
force = 0
if self.currentForce == force:
return
- self.currentForce = force;
+ self.currentForce = force
self.emit(QtCore.SIGNAL("forceChanged(int)"), self.currentForce)
def paintEvent(self, event):