Skip to content

Commit 279afc3

Browse files
committed
🤡 signal: work around false positive reportOverlappingOverload on numpy<2.1
1 parent f2511db commit 279afc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scipy-stubs/signal/_signaltools.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ def resample_poly(
12131213
window: _ToWindow = ("kaiser", 5.0),
12141214
padtype: _PadType = "constant",
12151215
cval: float | None = None,
1216-
) -> onp.ArrayND[Any]: ...
1216+
) -> onp.ArrayND[Any, _WorkaroundForPyright]: ...
12171217

12181218
# TODO(jorenham): improve
12191219
@overload

0 commit comments

Comments
 (0)