mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 22:18:28 +08:00
[stdlib] Mark constants as Final (#14577)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from re import Pattern
|
||||
from typing import overload
|
||||
from typing import Final, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_HeaderList: TypeAlias = list[tuple[str, str]]
|
||||
|
||||
tspecials: Pattern[str] # undocumented
|
||||
tspecials: Final[Pattern[str]] # undocumented
|
||||
|
||||
class Headers:
|
||||
def __init__(self, headers: _HeaderList | None = None) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user