Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion stdlib/@tests/test_cases/check_tkinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def foo(x: int, y: str) -> None:
root.after(1000, foo, 10, "lol")
root.after(1000, foo, 10, 10) # type: ignore


# Font size must be integer
label = tkinter.Label()
label.config(font=("", 12))
Expand Down
4 changes: 2 additions & 2 deletions stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3905,7 +3905,7 @@ class OptionMenu(Menubutton):
variable: StringVar,
value: str,
*values: str,
command: Callable[[StringVar], object] | None = ...,
command: Callable[[str], object] | None = ...,
name: str | None = None,
) -> None: ...
else:
Expand All @@ -3916,7 +3916,7 @@ class OptionMenu(Menubutton):
variable: StringVar,
value: str,
*values: str,
command: Callable[[StringVar], object] | None = ...,
command: Callable[[str], object] | None = ...,
) -> None: ...
# configure, config, cget are inherited from Menubutton
# destroy and __getitem__ are overridden, signature does not change
Expand Down