Files
typeshed/stdlib/sndhdr.pyi
2021-08-08 11:05:21 +02:00

13 lines
322 B
Python

from _typeshed import StrOrBytesPath
from typing import NamedTuple
class SndHeaders(NamedTuple):
filetype: str
framerate: int
nchannels: int
nframes: int
sampwidth: int | str
def what(filename: StrOrBytesPath) -> SndHeaders | None: ...
def whathdr(filename: StrOrBytesPath) -> SndHeaders | None: ...