Skip to content

Commit 7b4c751

Browse files
authored
Fix pos-only params in tkinter module (#11506)
1 parent 217166b commit 7b4c751

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/tkinter/__init__.pyi

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

0 commit comments

Comments
 (0)