summaryrefslogtreecommitdiffstats
path: root/examples2/tut9.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/tut9.py')
-rwxr-xr-xexamples2/tut9.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2/tut9.py b/examples2/tut9.py
index 5bad8d8..c413e00 100755
--- a/examples2/tut9.py
+++ b/examples2/tut9.py
@@ -27,7 +27,7 @@ class LCDRange(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)