summaryrefslogtreecommitdiffstats
path: root/examples3/tut10.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/tut10.py')
-rwxr-xr-xexamples3/tut10.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3/tut10.py b/examples3/tut10.py
index 310f000..b16804e 100755
--- a/examples3/tut10.py
+++ b/examples3/tut10.py
@@ -27,7 +27,7 @@ class LCDRange(qt.TQVBox):
def setRange(self, minVal, maxVal):
if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, "LCDRange.setRange(): invalid range"
+ raise ValueError("LCDRange.setRange(): invalid range")
self.slider.setRange(minVal, maxVal)