|
1 | 1 | import _tkinter
|
2 | 2 | import tkinter
|
3 |
| -from _typeshed import Incomplete, MaybeNone |
| 3 | +from _typeshed import MaybeNone |
4 | 4 | from collections.abc import Callable
|
5 | 5 | from tkinter.font import _FontDescription
|
6 | 6 | from typing import Any, Literal, TypedDict, overload
|
@@ -49,7 +49,7 @@ _Padding: TypeAlias = (
|
49 | 49 | _TtkCompound: TypeAlias = Literal["", "text", "image", tkinter._Compound]
|
50 | 50 |
|
51 | 51 | class Style:
|
52 |
| - master: Incomplete |
| 52 | + master: tkinter.Misc |
53 | 53 | tk: _tkinter.TkappType
|
54 | 54 | def __init__(self, master: tkinter.Misc | None = None) -> None: ...
|
55 | 55 | def configure(self, style, query_opt=None, **kw): ...
|
@@ -615,7 +615,7 @@ class Panedwindow(Widget, tkinter.PanedWindow):
|
615 | 615 | ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
|
616 | 616 | @overload
|
617 | 617 | def config(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
|
618 |
| - forget: Incomplete |
| 618 | + forget = tkinter.PanedWindow.forget |
619 | 619 | def insert(self, pos, child, **kw) -> None: ...
|
620 | 620 | def pane(self, pane, option=None, **kw): ...
|
621 | 621 | def sashpos(self, index, newpos=None): ...
|
|
0 commit comments