summaryrefslogtreecommitdiff
path: root/numpy/fft/fftpack.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 15:01:52 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commitcfd766456368777bcb0d5edabd360b3aeb02d3f8 (patch)
treeb38cd1bf7520faba8e2c0268e85253df7fe1f23f /numpy/fft/fftpack.py
parenta4100ba6c440bdf2a2b3cfc31995eb5e009846ee (diff)
downloadnumpy-cfd766456368777bcb0d5edabd360b3aeb02d3f8.tar.gz
STY: Update exception style, easy ones.
Diffstat (limited to 'numpy/fft/fftpack.py')
-rw-r--r--numpy/fft/fftpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/fftpack.py b/numpy/fft/fftpack.py
index 7f9ee57fd..2f19ba3d8 100644
--- a/numpy/fft/fftpack.py
+++ b/numpy/fft/fftpack.py
@@ -509,7 +509,7 @@ def _cook_nd_args(a, s=None, axes=None, invreal=0):
if axes is None:
axes = range(-len(s), 0)
if len(s) != len(axes):
- raise ValueError, "Shape and axes have different lengths."
+ raise ValueError("Shape and axes have different lengths.")
if invreal and shapeless:
s[axes[-1]] = (s[axes[-1]] - 1) * 2
return s, axes