From 7eed4a9edb9bc4b3c0f317f1d8dc433deb942696 Mon Sep 17 00:00:00 2001 From: melassa Date: Sun, 3 Jan 2021 12:53:03 +0100 Subject: [PATCH] Type Menu.tk_popup() (#4893) --- stdlib/3/tkinter/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/tkinter/__init__.pyi b/stdlib/3/tkinter/__init__.pyi index e59c26f10..c1f0b18c7 100644 --- a/stdlib/3/tkinter/__init__.pyi +++ b/stdlib/3/tkinter/__init__.pyi @@ -1881,7 +1881,7 @@ class Menu(Widget): def configure(self, cnf: _MenuOptionName) -> Tuple[str, str, str, Any, Any]: ... config = configure def cget(self, key: _MenuOptionName) -> Any: ... - def tk_popup(self, x, y, entry: str = ...): ... + def tk_popup(self, x: int, y: int, entry: Union[str, int] = ...): ... def activate(self, index): ... def add(self, itemType, cnf=..., **kw): ... def add_cascade(self, cnf=..., **kw): ...