Skip to content

Commit c335867

Browse files
Fix explicit occurrences of Incomplete in tkinter.ttk
1 parent 1511911 commit c335867

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/tkinter/ttk.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import _tkinter
22
import tkinter
3-
from _typeshed import Incomplete, MaybeNone
3+
from _typeshed import MaybeNone
44
from collections.abc import Callable
55
from tkinter.font import _FontDescription
66
from typing import Any, Literal, TypedDict, overload
@@ -49,7 +49,7 @@ _Padding: TypeAlias = (
4949
_TtkCompound: TypeAlias = Literal["", "text", "image", tkinter._Compound]
5050

5151
class Style:
52-
master: Incomplete
52+
master: tkinter.Misc
5353
tk: _tkinter.TkappType
5454
def __init__(self, master: tkinter.Misc | None = None) -> None: ...
5555
def configure(self, style, query_opt=None, **kw): ...
@@ -615,7 +615,7 @@ class Panedwindow(Widget, tkinter.PanedWindow):
615615
) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
616616
@overload
617617
def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
618-
forget: Incomplete
618+
forget = tkinter.PanedWindow.forget
619619
def insert(self, pos, child, **kw) -> None: ...
620620
def pane(self, pane, option=None, **kw): ...
621621
def sashpos(self, index, newpos=None): ...

0 commit comments

Comments
 (0)