mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-15 06:22:02 +08:00
Use TypeAlias where possible for type aliases (#7630)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import Pattern, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_HeaderList = list[tuple[str, str]]
|
||||
_HeaderList: TypeAlias = list[tuple[str, str]]
|
||||
|
||||
tspecials: Pattern[str] # undocumented
|
||||
|
||||
|
||||
Reference in New Issue
Block a user