Debian Codegraph @

jedi/third_party/typeshed/stdlib/mailcap.pyi

raw symbols SCIP
1 from collections.abc import Mapping, Sequence
2 from typing_extensions import TypeAlias
3
4 _Cap: TypeAlias = dict[str, str | int]
5
6 __all__ = ["getcaps", "findmatch"]
7
8 def findmatch(
9 caps: Mapping[str, list[_Cap]], MIMEtype: str, key: str = "view", filename: str = "/dev/null", plist: Sequence[str] = []
10 ) -> tuple[str | None, _Cap | None]: ...
11 def getcaps() -> dict[str, list[_Cap]]: ...