support widgets in _TextIndex (#4954)

fixes #4953
This commit is contained in:
Akuli
2021-01-19 18:41:39 +02:00
committed by GitHub
parent 7b3a0b2278
commit 886a6c407c

View File

@@ -2314,7 +2314,7 @@ class Scrollbar(Widget):
def get(self): ...
def set(self, first, last): ...
_TextIndex = Union[_tkinter.Tcl_Obj, str, float]
_TextIndex = Union[_tkinter.Tcl_Obj, str, float, Misc]
class Text(Widget, XView, YView):
def __init__(