Skip to content

Commit aac4394

Browse files
authored
tkinter: allow index to be "end" in Treeview.move (#13454)
1 parent 8db4dc1 commit aac4394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/tkinter/ttk.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
11001100
open: bool = ...,
11011101
tags: str | list[str] | tuple[str, ...] = ...,
11021102
) -> None: ...
1103-
def move(self, item: str | int, parent: str, index: int) -> None: ...
1103+
def move(self, item: str | int, parent: str, index: int | Literal["end"]) -> None: ...
11041104
reattach = move
11051105
def next(self, item: str | int) -> str: ... # returning empty string means last item
11061106
def parent(self, item: str | int) -> str: ...

0 commit comments

Comments
 (0)