mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
15 lines
353 B
Python
15 lines
353 B
Python
from _typeshed import StrOrBytesPath
|
|
from typing import NamedTuple
|
|
|
|
__all__ = ["what", "whathdr"]
|
|
|
|
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: ...
|