Skip to content

Commit

Permalink
tkinter: accept Iterable[int] for grid_columnconfigure, grid_rowconfi…
Browse files Browse the repository at this point in the history
…gure (#10455)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
  • Loading branch information
brccabral and Akuli authored Jul 13, 2023
1 parent eba3a49 commit 1d7f0d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ class Misc:
bbox = grid_bbox
def grid_columnconfigure(
self,
index: _GridIndex,
index: _GridIndex | list[int] | tuple[int, ...],
cnf: _GridIndexInfo = {},
*,
minsize: _ScreenUnits = ...,
Expand All @@ -510,7 +510,7 @@ class Misc:
) -> _GridIndexInfo | Any: ... # can be None but annoying to check
def grid_rowconfigure(
self,
index: _GridIndex,
index: _GridIndex | list[int] | tuple[int, ...],
cnf: _GridIndexInfo = {},
*,
minsize: _ScreenUnits = ...,
Expand Down

0 comments on commit 1d7f0d0

Please sign in to comment.