mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
tkinter: accept Iterable[int] for grid_columnconfigure, grid_rowconfigure (#10455)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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 = ...,
|
||||
@@ -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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user