use bool for tkinter.FALSE and its friends (#4853)

Fixes #4669
This commit is contained in:
Akuli
2020-12-25 17:07:55 +02:00
committed by GitHub
parent 6dae28a017
commit eb7381a3c1

View File

@@ -1,11 +1,12 @@
from typing_extensions import Literal
NO: Literal[0]
YES: Literal[1]
TRUE: Literal[1]
FALSE: Literal[0]
ON: Literal[1]
OFF: Literal[0]
# These are not actually bools. See #4669
NO: bool
YES: bool
TRUE: bool
FALSE: bool
ON: bool
OFF: bool
N: Literal["n"]
S: Literal["s"]
W: Literal["w"]