Use Final in tkinter (#12545)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-08-17 22:34:16 +02:00
1 parent 9ecd07a669
commit 82da1e19a7
4 files changed
+27 -27

No files matched your search

+6 -6
View File
@@ -1,12 +1,12 @@
from typing import Final
# These are not actually bools. See #4669
NO: bool
YES: bool
TRUE: bool
FALSE: bool
ON: bool
OFF: bool
NO: Final[bool]
YES: Final[bool]
TRUE: Final[bool]
FALSE: Final[bool]
ON: Final[bool]
OFF: Final[bool]
N: Final = "n"
S: Final = "s"
W: Final = "w"