tkinter: get rid of unnecessary Incomplete (#8471)

This commit is contained in:
Akuli
2022-08-03 01:03:24 +03:00
committed by GitHub
parent 7148ee8612
commit 57179d4080
3 changed files with 17 additions and 17 deletions

View File

@@ -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 = ...,