diff --git a/stdlib/tkinter/__init__.pyi b/stdlib/tkinter/__init__.pyi index 7a0dcb4a0..6cf7e3b38 100644 --- a/stdlib/tkinter/__init__.pyi +++ b/stdlib/tkinter/__init__.pyi @@ -1131,7 +1131,7 @@ class Canvas(Widget, XView, YView): insertontime: int = ..., insertwidth: _ScreenUnits = ..., name: str = ..., - offset: Incomplete = ..., # undocumented + offset=..., # undocumented relief: _Relief = ..., # Setting scrollregion to None doesn't reset it back to empty, # but setting it to () does. @@ -1170,7 +1170,7 @@ class Canvas(Widget, XView, YView): insertofftime: int = ..., insertontime: int = ..., insertwidth: _ScreenUnits = ..., - offset: Incomplete = ..., # undocumented + offset=..., # undocumented relief: _Relief = ..., scrollregion: tuple[_ScreenUnits, _ScreenUnits, _ScreenUnits, _ScreenUnits] | tuple[()] = ..., selectbackground: _Color = ..., diff --git a/stdlib/tkinter/filedialog.pyi b/stdlib/tkinter/filedialog.pyi index cc9e4c8dc..d0b7e451f 100644 --- a/stdlib/tkinter/filedialog.pyi +++ b/stdlib/tkinter/filedialog.pyi @@ -44,7 +44,7 @@ class FileDialog: self, master, title: Incomplete | None = ... ) -> None: ... # title is usually a str or None, but e.g. int doesn't raise en exception either how: Incomplete | None - def go(self, dir_or_file: Incomplete = ..., pattern: str = ..., default: str = ..., key: Incomplete | None = ...): ... + def go(self, dir_or_file=..., pattern: str = ..., default: str = ..., key: Incomplete | None = ...): ... def quit(self, how: Incomplete | None = ...) -> None: ... def dirs_double_event(self, event) -> None: ... def dirs_select_event(self, event) -> None: ... diff --git a/stdlib/tkinter/ttk.pyi b/stdlib/tkinter/ttk.pyi index 8e9890207..6ae6d1659 100644 --- a/stdlib/tkinter/ttk.pyi +++ b/stdlib/tkinter/ttk.pyi @@ -78,7 +78,7 @@ class Button(Widget): default: Literal["normal", "active", "disabled"] = ..., image: tkinter._ImageSpec = ..., name: str = ..., - padding: Incomplete = ..., # undocumented + padding=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -97,7 +97,7 @@ class Button(Widget): cursor: tkinter._Cursor = ..., default: Literal["normal", "active", "disabled"] = ..., image: tkinter._ImageSpec = ..., - padding: Incomplete = ..., + padding=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -124,7 +124,7 @@ class Checkbutton(Widget): name: str = ..., offvalue: Any = ..., onvalue: Any = ..., - padding: Incomplete = ..., # undocumented + padding=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -148,7 +148,7 @@ class Checkbutton(Widget): image: tkinter._ImageSpec = ..., offvalue: Any = ..., onvalue: Any = ..., - padding: Incomplete = ..., + padding=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -257,7 +257,7 @@ class Combobox(Entry): justify: Literal["left", "center", "right"] = ..., name: str = ..., postcommand: Callable[[], object] | str = ..., - show: Incomplete = ..., # undocumented + show=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -282,7 +282,7 @@ class Combobox(Entry): invalidcommand: tkinter._EntryValidateCommand = ..., justify: Literal["left", "center", "right"] = ..., postcommand: Callable[[], object] | str = ..., - show: Incomplete = ..., + show=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -310,7 +310,7 @@ class Combobox(Entry): invalidcommand: tkinter._EntryValidateCommand = ..., justify: Literal["left", "center", "right"] = ..., postcommand: Callable[[], object] | str = ..., - show: Incomplete = ..., + show=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -478,7 +478,7 @@ class Menubutton(Widget): image: tkinter._ImageSpec = ..., menu: tkinter.Menu = ..., name: str = ..., - padding: Incomplete = ..., # undocumented + padding=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -497,7 +497,7 @@ class Menubutton(Widget): direction: Literal["above", "below", "left", "right", "flush"] = ..., image: tkinter._ImageSpec = ..., menu: tkinter.Menu = ..., - padding: Incomplete = ..., + padding=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -547,7 +547,7 @@ class Notebook(Widget): sticky: str = ..., # consists of letters 'n', 's', 'w', 'e', no repeats, may be empty padding: tkinter._Padding = ..., text: str = ..., - image: Incomplete = ..., # Sequence of an image name, followed by zero or more (sequences of one or more state names followed by an image name) + image=..., # Sequence of an image name, followed by zero or more (sequences of one or more state names followed by an image name) compound: tkinter._Compound = ..., underline: int = ..., ) -> None: ... @@ -663,7 +663,7 @@ class Radiobutton(Widget): cursor: tkinter._Cursor = ..., image: tkinter._ImageSpec = ..., name: str = ..., - padding: Incomplete = ..., # undocumented + padding=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -683,7 +683,7 @@ class Radiobutton(Widget): compound: _TtkCompound = ..., cursor: tkinter._Cursor = ..., image: tkinter._ImageSpec = ..., - padding: Incomplete = ..., + padding=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -870,7 +870,7 @@ class Spinbox(Entry): invalidcommand: tkinter._EntryValidateCommand = ..., # undocumented justify: Literal["left", "center", "right"] = ..., # undocumented name: str = ..., - show: Incomplete = ..., # undocumented + show=..., # undocumented state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ..., @@ -899,7 +899,7 @@ class Spinbox(Entry): increment: float = ..., invalidcommand: tkinter._EntryValidateCommand = ..., justify: Literal["left", "center", "right"] = ..., - show: Incomplete = ..., + show=..., state: str = ..., style: str = ..., takefocus: tkinter._TakeFocusValue = ...,