Skip to content

Commit eba7dec

Browse files
committed
Leftover import + n is also a simple param type
1 parent 7de0ca0 commit eba7dec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scipy-stubs/fft/_realtransforms.pyi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import numpy as np
21
import numpy.typing as npt
32
from numpy._typing import _ArrayLikeNumber_co
43
from scipy._typing import DCTType, NormalizationMode, Untyped
@@ -60,7 +59,7 @@ def dct(
6059
def idct(
6160
x: Untyped,
6261
type: DCTType = 2,
63-
n: Untyped | None = None,
62+
n: int | None = None,
6463
axis: int = -1,
6564
norm: NormalizationMode | None = None,
6665
overwrite_x: bool = False,
@@ -70,7 +69,7 @@ def idct(
7069
def dst(
7170
x: Untyped,
7271
type: DCTType = 2,
73-
n: Untyped | None = None,
72+
n: int | None = None,
7473
axis: int = -1,
7574
norm: NormalizationMode | None = None,
7675
overwrite_x: bool = False,
@@ -80,7 +79,7 @@ def dst(
8079
def idst(
8180
x: Untyped,
8281
type: DCTType = 2,
83-
n: Untyped | None = None,
82+
n: int | None = None,
8483
axis: int = -1,
8584
norm: NormalizationMode | None = None,
8685
overwrite_x: bool = False,

0 commit comments

Comments
 (0)