Skip to content

Commit 8025584

Browse files
authored
Merge branch 'python:main' into auth
2 parents 514d619 + 332fcab commit 8025584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/tkinter/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class Misc:
460460
def winfo_atom(self, name: str, displayof: Literal[0] | Misc | None = 0) -> int: ...
461461
def winfo_atomname(self, id: int, displayof: Literal[0] | Misc | None = 0) -> str: ...
462462
def winfo_cells(self) -> int: ...
463-
def winfo_children(self) -> list[Widget]: ... # Widget because it can't be Toplevel or Tk
463+
def winfo_children(self) -> list[Widget | Toplevel]: ...
464464
def winfo_class(self) -> str: ...
465465
def winfo_colormapfull(self) -> bool: ...
466466
def winfo_containing(self, rootX: int, rootY: int, displayof: Literal[0] | Misc | None = 0) -> Misc | None: ...

0 commit comments

Comments
 (0)