Skip to content

Commit e6e2f22

Browse files
authored
Annotate tkinter.Canvas.type() (#11366)
1 parent ed38e99 commit e6e2f22

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
@@ -1732,7 +1732,7 @@ class Canvas(Widget, XView, YView):
17321732
def select_from(self, tagOrId, index) -> None: ...
17331733
def select_item(self): ...
17341734
def select_to(self, tagOrId, index) -> None: ...
1735-
def type(self, tagOrId): ...
1735+
def type(self, tagOrId: str | int) -> int | None: ...
17361736

17371737
class Checkbutton(Widget):
17381738
def __init__(

0 commit comments

Comments
 (0)