Skip to content

Commit 0ad004a

Browse files
authored
tkinter: Simplify wm_iconphoto() (#11508)
1 parent 675ab38 commit 0ad004a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/tkinter/__init__.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,7 @@ class Wm:
665665
iconmask = wm_iconmask
666666
def wm_iconname(self, newName: Incomplete | None = None) -> str: ...
667667
iconname = wm_iconname
668-
def wm_iconphoto(
669-
self, default: bool, *args: Unpack[tuple[_PhotoImageLike | str, Unpack[tuple[_PhotoImageLike | str, ...]]]]
670-
) -> None: ...
668+
def wm_iconphoto(self, default: bool, image1: _PhotoImageLike | str, /, *args: _PhotoImageLike | str) -> None: ...
671669
iconphoto = wm_iconphoto
672670
def wm_iconposition(self, x: int | None = None, y: int | None = None) -> tuple[int, int] | None: ...
673671
iconposition = wm_iconposition

0 commit comments

Comments
 (0)