mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Fix tkinter.ttk's compound argument (#11393)
Allow the empty string (`""`).
This commit is contained in:
@@ -46,7 +46,7 @@ _Padding: TypeAlias = (
|
||||
)
|
||||
|
||||
# from ttk_widget (aka ttk::widget) manual page, differs from tkinter._Compound
|
||||
_TtkCompound: TypeAlias = Literal["text", "image", tkinter._Compound]
|
||||
_TtkCompound: TypeAlias = Literal["", "text", "image", tkinter._Compound]
|
||||
|
||||
class Style:
|
||||
master: Incomplete
|
||||
|
||||
Reference in New Issue
Block a user