Skip to content

Commit 5eb040b

Browse files
Fix tkinter.ttk's compound argument (#11393)
Allow the empty string (`""`).
1 parent 187928d commit 5eb040b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/tkinter/ttk.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ _Padding: TypeAlias = (
4646
)
4747

4848
# from ttk_widget (aka ttk::widget) manual page, differs from tkinter._Compound
49-
_TtkCompound: TypeAlias = Literal["text", "image", tkinter._Compound]
49+
_TtkCompound: TypeAlias = Literal["", "text", "image", tkinter._Compound]
5050

5151
class Style:
5252
master: Incomplete

0 commit comments

Comments
 (0)