[stdlib] Mark constants as Final (#14577)

This commit is contained in:
Semyon Moroz
2025-08-15 13:19:03 +02:00
committed by GitHub
parent 554701e9b6
commit 85a787bba3
62 changed files with 1601 additions and 1583 deletions
+2 -2
View File
@@ -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: ...