Skip to content

Commit 5fb8aa4

Browse files
authored
🚨 fftpack: fix stubtest error on numpy<2 (#786)
2 parents eefb58b + c9c6f0d commit 5fb8aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scipy-stubs/fftpack/helper.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
from typing import Final
33
from typing_extensions import deprecated
44

5+
from numpy.fft import fftfreq
6+
57
__all__ = ["fftfreq", "fftshift", "ifftshift", "next_fast_len", "rfftfreq"]
68

79
__MESSAGE: Final = "will be removed in SciPy v2.0.0"
810

9-
@deprecated(__MESSAGE)
10-
def fftfreq(n: object, d: object = ..., device: object = ...) -> object: ...
1111
@deprecated(__MESSAGE)
1212
def fftshift(x: object, axes: object = ...) -> object: ...
1313
@deprecated(__MESSAGE)

0 commit comments

Comments
 (0)