mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
* Remove compatibility aliases Remove a few instances of Text Use aliases from _typeshed * Remove unused imports
13 lines
330 B
Python
13 lines
330 B
Python
from _typeshed import AnyPath
|
|
from typing import NamedTuple, Optional, Union
|
|
|
|
class SndHeaders(NamedTuple):
|
|
filetype: str
|
|
framerate: int
|
|
nchannels: int
|
|
nframes: int
|
|
sampwidth: Union[int, str]
|
|
|
|
def what(filename: AnyPath) -> Optional[SndHeaders]: ...
|
|
def whathdr(filename: AnyPath) -> Optional[SndHeaders]: ...
|