Skip to content

Commit

Permalink
fix: incorrect type hint under Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaokang2022 committed Nov 16, 2024
1 parent cf49541 commit c4109a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tkintertools/core/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Env:

system: str
is_dark: bool
default_callback: typing.Callable[[tkinter.Event], False]
default_callback: typing.Callable[[tkinter.Event], typing.Literal[False]]

default_root: tkinter.Tk | None = _DefaultRoot()

Expand Down

0 comments on commit c4109a9

Please sign in to comment.