Skip to content

tkinter: Simplify annotations for wm_iconphoto #11507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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: 1 addition & 3 deletions stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,7 @@ class Wm:
iconmask = wm_iconmask
def wm_iconname(self, newName: Incomplete | None = None) -> str: ...
iconname = wm_iconname
def wm_iconphoto(
self, default: bool, *args: Unpack[tuple[_PhotoImageLike | str, Unpack[tuple[_PhotoImageLike | str, ...]]]]
) -> None: ...
def wm_iconphoto(self, default: bool, image1: _PhotoImageLike | str, /, *args: _PhotoImageLike | str) -> None: ...
iconphoto = wm_iconphoto
def wm_iconposition(self, x: int | None = None, y: int | None = None) -> tuple[int, int] | None: ...
iconposition = wm_iconposition
Expand Down