Remove parts of tkinter from pyright exclude (#8958)

This commit is contained in:
Nikita Sobolev
2022-10-21 19:18:04 +03:00
committed by GitHub
parent 50da0aa19c
commit 7ed599e848
5 changed files with 6 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
from _typeshed import Incomplete
from tkinter import Frame, Misc, Scrollbar, Text
__all__ = ["ScrolledText"]
@@ -6,4 +7,4 @@ __all__ = ["ScrolledText"]
class ScrolledText(Text):
frame: Frame
vbar: Scrollbar
def __init__(self, master: Misc | None = ..., **kwargs) -> None: ...
def __init__(self, master: Misc | None = ..., **kwargs: Incomplete) -> None: ...