Files
typeshed/stdlib/@python2/mailcap.pyi
2022-03-16 16:01:33 +01:00

9 lines
282 B
Python

from typing import Mapping, Sequence
_Cap = dict[str, str | int]
def findmatch(
caps: Mapping[str, list[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...
) -> tuple[str | None, _Cap | None]: ...
def getcaps() -> dict[str, list[_Cap]]: ...