mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -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]]: ...
|
||||
|
||||
Reference in New Issue
Block a user