Skip to content

Commit 6b0012c

Browse files
authored
Update ttk.pyi for Notebook.add
added tuple and list
1 parent b8aa45f commit 6b0012c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/tkinter/ttk.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ class Notebook(Widget):
694694
child: tkinter.Widget,
695695
*,
696696
state: Literal["normal", "disabled", "hidden"] = ...,
697-
sticky: str = ..., # consists of letters 'n', 's', 'w', 'e', no repeats, may be empty
697+
sticky: str | list[str] | tuple[str,...] = ..., # consists of letters 'n', 's', 'w', 'e', no repeats, may be empty
698698
padding: _Padding = ...,
699699
text: str = ...,
700700
# `image` is a sequence of an image name, followed by zero or more

0 commit comments

Comments
 (0)