mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Mapping, Sequence, Union
|
||||
from typing import Mapping, Sequence
|
||||
|
||||
_Cap = dict[str, Union[str, int]]
|
||||
_Cap = dict[str, str | int]
|
||||
|
||||
__all__ = ["getcaps", "findmatch"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user