Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-14 17:18:19 -07:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
from typing import Dict, Mapping, Sequence, Tuple, Union
from typing import Dict, Mapping, Sequence, Union
_Cap = Dict[str, Union[str, int]]
def findmatch(
caps: Mapping[str, list[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...
) -> Tuple[str | None, _Cap | None]: ...
) -> tuple[str | None, _Cap | None]: ...
def getcaps() -> dict[str, list[_Cap]]: ...