mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 07:23:47 +08:00
tkinter: allow index to be "end" in Treeview.move (#13454)
This commit is contained in:
1 parent
8db4dc186f
commit
aac4394eb2
1 file changed
+1
-1
@@ -1100,7 +1100,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
|
||||
open: bool = ...,
|
||||
tags: str | list[str] | tuple[str, ...] = ...,
|
||||
) -> None: ...
|
||||
def move(self, item: str | int, parent: str, index: int) -> None: ...
|
||||
def move(self, item: str | int, parent: str, index: int | Literal["end"]) -> None: ...
|
||||
reattach = move
|
||||
def next(self, item: str | int) -> str: ... # returning empty string means last item
|
||||
def parent(self, item: str | int) -> str: ...
|
||||
|
||||
Reference in new issue
Block a user