diff options
Diffstat (limited to 'numpy/fft/fftpack.py')
-rw-r--r-- | numpy/fft/fftpack.py | 2 |
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 |