mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
11 lines
331 B
Python
11 lines
331 B
Python
from typing import Mapping, Sequence, Union
|
|
|
|
_Cap = dict[str, Union[str, int]]
|
|
|
|
__all__ = ["getcaps", "findmatch"]
|
|
|
|
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]]: ...
|