Skip to content

Commit 310c4d3

Browse files
authored
Add return type for tkinter.Text.mark_previous (#4986)
1 parent c39f8b9 commit 310c4d3

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
@@ -2503,7 +2503,7 @@ class Text(Widget, XView, YView):
25032503
def mark_set(self, markName: str, index: _TextIndex) -> None: ...
25042504
def mark_unset(self, *markNames: str) -> None: ...
25052505
def mark_next(self, index: _TextIndex) -> Optional[str]: ...
2506-
def mark_previous(self, index: _TextIndex): ...
2506+
def mark_previous(self, index: _TextIndex) -> Optional[str]: ...
25072507
# **kw of peer_create is same as the kwargs of Text.__init__
25082508
def peer_create(self, newPathName: Union[str, Text], cnf: Dict[str, Any] = ..., **kw: Any) -> None: ...
25092509
def peer_names(self) -> Tuple[_tkinter.Tcl_Obj, ...]: ...

0 commit comments

Comments
 (0)