From 6aba79e89fc5c68ea084e00fd47d675632f6edc9 Mon Sep 17 00:00:00 2001 From: jorenham Date: Tue, 23 Dec 2025 19:47:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20`fft.helper`=20remove?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/numpy-stubs/fft/helper.pyi | 19 ------------------- tool/allowlists/todo.txt | 1 - 2 files changed, 20 deletions(-) delete mode 100644 src/numpy-stubs/fft/helper.pyi diff --git a/src/numpy-stubs/fft/helper.pyi b/src/numpy-stubs/fft/helper.pyi deleted file mode 100644 index e4a4a466..00000000 --- a/src/numpy-stubs/fft/helper.pyi +++ /dev/null @@ -1,19 +0,0 @@ -from typing_extensions import deprecated - -import _numtype as _nt -from numpy._typing import ArrayLike, _ShapeLike - -from ._helper import _Device, _Int, integer_types as integer_types - -__all__ = ["fftfreq", "fftshift", "ifftshift", "rfftfreq"] - -### - -@deprecated("Please use `numpy.fft.fftshift` instead.") -def fftshift(x: ArrayLike, axes: _ShapeLike | None = None) -> _nt.Array: ... -@deprecated("Please use `numpy.fft.ifftshift` instead.") -def ifftshift(x: ArrayLike, axes: _ShapeLike | None = None) -> _nt.Array: ... -@deprecated("Please use `numpy.fft.fftfreq` instead.") -def fftfreq(n: _Int, d: ArrayLike = 1.0, device: _Device | None = None) -> _nt.Array: ... -@deprecated("Please use `numpy.fft.rfftfreq` instead.") -def rfftfreq(n: _Int, d: ArrayLike = 1.0, device: _Device | None = None) -> _nt.Array: ... diff --git a/tool/allowlists/todo.txt b/tool/allowlists/todo.txt index 5158bf28..8132b658 100644 --- a/tool/allowlists/todo.txt +++ b/tool/allowlists/todo.txt @@ -1,4 +1,3 @@ -numpy.fft.helper numpy.linalg.linalg numpy.ma.all numpy.ma.anom