@@ -1099,26 +1099,42 @@ ttk.Treeview
10991099 If *selop * is not specified, returns selected items. Otherwise, it will
11001100 act according to the following selection methods.
11011101
1102+ .. deprecated-removed :: 3.6 3.8
1103+ Using ``selection() `` for changing the selection state is deprecated.
1104+ Use the following selection methods instead.
11021105
1103- .. method :: selection_set(items)
1106+
1107+ .. method :: selection_set(*items)
11041108
11051109 *items * becomes the new selection.
11061110
1111+ .. versionchanged :: 3.6
1112+ *items * can be passed as separate arguments, not just as a single tuple.
1113+
11071114
1108- .. method :: selection_add(items)
1115+ .. method :: selection_add(* items)
11091116
11101117 Add *items * to the selection.
11111118
1119+ .. versionchanged :: 3.6
1120+ *items * can be passed as separate arguments, not just as a single tuple.
1121+
11121122
1113- .. method :: selection_remove(items)
1123+ .. method :: selection_remove(* items)
11141124
11151125 Remove *items * from the selection.
11161126
1127+ .. versionchanged :: 3.6
1128+ *items * can be passed as separate arguments, not just as a single tuple.
11171129
1118- .. method :: selection_toggle(items)
1130+
1131+ .. method :: selection_toggle(*items)
11191132
11201133 Toggle the selection state of each item in *items *.
11211134
1135+ .. versionchanged :: 3.6
1136+ *items * can be passed as separate arguments, not just as a single tuple.
1137+
11221138
11231139 .. method :: set(item, column=None, value=None)
11241140
0 commit comments