mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
* pyright: disable reportUnknownParameterType Unknown parameter types are preferred over Any annotations for incomplete stubs. Especially larger stubs are expected to be incomplete for some time and it would be a shame to lose the other pyright warnings for those stubs. * Also disable reportUnknownVariableType Fix problems with tkinter * Disable reportUnknownMemberType Fix pyright problems
9 lines
314 B
Python
9 lines
314 B
Python
from tkinter import Frame, Misc, Scrollbar, Text
|
|
from typing import Any, Optional
|
|
|
|
# The methods from Pack, Place, and Grid are dynamically added over the parent's impls
|
|
class ScrolledText(Text):
|
|
frame: Frame
|
|
vbar: Scrollbar
|
|
def __init__(self, master: Optional[Misc] = ..., **kwargs: Any) -> None: ...
|