Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli authored and GitHub committed 2021-08-08 09:26:35 -07:00
1 parent 11f54c3407
commit ce11072dbe
325 files changed
+2196 -2334

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
from typing import Dict, List, Mapping, Sequence, Tuple, Union
from typing import Dict, Mapping, Sequence, Tuple, Union
_Cap = Dict[str, Union[str, int]]
def findmatch(
caps: Mapping[str, List[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...
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]]: ...
def getcaps() -> dict[str, list[_Cap]]: ...