mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Dict, Mapping, Sequence, Union
|
||||
from typing import Mapping, Sequence, Union
|
||||
|
||||
_Cap = Dict[str, Union[str, int]]
|
||||
_Cap = dict[str, Union[str, int]]
|
||||
|
||||
def findmatch(
|
||||
caps: Mapping[str, list[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...
|
||||
|
||||
Reference in New Issue
Block a user