Skip to content

Commit 886a6c4

Browse files
authored
support widgets in _TextIndex (#4954)
fixes #4953
1 parent 7b3a0b2 commit 886a6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/tkinter/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ class Scrollbar(Widget):
23142314
def get(self): ...
23152315
def set(self, first, last): ...
23162316

2317-
_TextIndex = Union[_tkinter.Tcl_Obj, str, float]
2317+
_TextIndex = Union[_tkinter.Tcl_Obj, str, float, Misc]
23182318

23192319
class Text(Widget, XView, YView):
23202320
def __init__(

0 commit comments

Comments
 (0)