summaryrefslogtreecommitdiff
path: root/numpy/fft/helper.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-08-31 10:13:58 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-08-31 10:13:58 +0100
commit6e00aaedc40292933c0e8f162d0d4512d6ba350e (patch)
treebb3d3aa9926cfd5230d479daf129f1d68b2e231b /numpy/fft/helper.py
parentbbe2cca1925873dea538674b96b53b5cef0a148a (diff)
downloadnumpy-6e00aaedc40292933c0e8f162d0d4512d6ba350e.tar.gz
MAINT: Remove users of `numpy.compat.integer_types`
Some more Python 2 cleanup
Diffstat (limited to 'numpy/fft/helper.py')
-rw-r--r--numpy/fft/helper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/fft/helper.py b/numpy/fft/helper.py
index 3dacd9ee1..927ee1af1 100644
--- a/numpy/fft/helper.py
+++ b/numpy/fft/helper.py
@@ -2,7 +2,6 @@
Discrete Fourier Transforms - helper.py
"""
-from numpy.compat import integer_types
from numpy.core import integer, empty, arange, asarray, roll
from numpy.core.overrides import array_function_dispatch, set_module
@@ -10,7 +9,7 @@ from numpy.core.overrides import array_function_dispatch, set_module
__all__ = ['fftshift', 'ifftshift', 'fftfreq', 'rfftfreq']
-integer_types = integer_types + (integer,)
+integer_types = (int, integer)
def _fftshift_dispatcher(x, axes=None):