summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/sortvisu.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/sortvisu.py')
-rw-r--r--Demo/tkinter/guido/sortvisu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/sortvisu.py b/Demo/tkinter/guido/sortvisu.py
index 3e4454f..c538a2c 100644
--- a/Demo/tkinter/guido/sortvisu.py
+++ b/Demo/tkinter/guido/sortvisu.py
@@ -344,7 +344,7 @@ def steps(here, there):
def interpolate(oldpts, newpts, n):
if len(oldpts) != len(newpts):
- raise ValueError, "can't interpolate arrays of different length"
+ raise ValueError("can't interpolate arrays of different length")
pts = [0]*len(oldpts)
res = [tuple(oldpts)]
for i in range(1, n):