diff --git a/scipy-stubs/io/wavfile.pyi b/scipy-stubs/io/wavfile.pyi index bdd472bb..aedff422 100644 --- a/scipy-stubs/io/wavfile.pyi +++ b/scipy-stubs/io/wavfile.pyi @@ -287,5 +287,5 @@ class WAVE_FORMAT(IntEnum): EXTENSIBLE = 0xFFFE DEVELOPMENT = 0xFFFF -def read(filename: FileLike[bytes], mmap: bool = False) -> onp.Array[_Shape1D | _Shape2D, _ScalarR]: ... +def read(filename: FileLike[bytes], mmap: bool = False) -> tuple[int, onp.Array[_Shape1D | _Shape2D, _ScalarR]]: ... def write(filename: FileLike[bytes], rate: int, data: onp.Array[_Shape1D | _Shape2D, _ScalarW]) -> None: ...