mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use TypeAlias where possible for type aliases (#7630)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import Mapping, Sequence
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_Cap = dict[str, str | int]
|
||||
_Cap: TypeAlias = dict[str, str | int]
|
||||
|
||||
__all__ = ["getcaps", "findmatch"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user