[stdlib] Mark constants as Final (#14577)

This commit is contained in:
Semyon Moroz
2025-08-15 11:19:03 +00:00
committed by GitHub
parent 554701e9b6
commit 85a787bba3
62 changed files with 1601 additions and 1583 deletions
+6 -4
View File
@@ -1,6 +1,8 @@
from typing import Final
__all__ = ["html5", "name2codepoint", "codepoint2name", "entitydefs"]
name2codepoint: dict[str, int]
html5: dict[str, str]
codepoint2name: dict[int, str]
entitydefs: dict[str, str]
name2codepoint: Final[dict[str, int]]
html5: Final[dict[str, str]]
codepoint2name: Final[dict[int, str]]
entitydefs: Final[dict[str, str]]