[stdlib] Mark constants as Final (#14577)

This commit is contained in:
Semyon Moroz authored and GitHub committed 2025-08-15 13:19:03 +02:00
1 parent 554701e9b6
commit 85a787bba3
62 files changed
+1601 -1583

No files matched your search

+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]]