Skip to content
Open
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
4 changes: 2 additions & 2 deletions stdlib/tkinter/ttk.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ class OptionMenu(Menubutton):
# rest of these are keyword-only because *args syntax used above
style: str = "",
direction: Literal["above", "below", "left", "right", "flush"] = "below",
command: Callable[[tkinter.StringVar], object] | None = None,
command: Callable[[str], object] | None = None,
name: str | None = None,
) -> None: ...
else:
Expand All @@ -1427,7 +1427,7 @@ class OptionMenu(Menubutton):
# rest of these are keyword-only because *args syntax used above
style: str = "",
direction: Literal["above", "below", "left", "right", "flush"] = "below",
command: Callable[[tkinter.StringVar], object] | None = None,
command: Callable[[str], object] | None = None,
) -> None: ...
# configure, config, cget, destroy are inherited from Menubutton
# destroy and __setitem__ are overridden, signature does not change
Expand Down
Loading