diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-01 16:49:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 16:49:21 (GMT) |
commit | 97f1ca167385bafd9be5d226f61c33412fc081bf (patch) | |
tree | 49e0230e7e93865944f2ed9074d8e0d0f2a433b5 /Doc/whatsnew | |
parent | 12e7cd8a51956a5ce373aac692ae6366c5f86584 (diff) | |
download | cpython-97f1ca167385bafd9be5d226f61c33412fc081bf.zip cpython-97f1ca167385bafd9be5d226f61c33412fc081bf.tar.gz cpython-97f1ca167385bafd9be5d226f61c33412fc081bf.tar.bz2 |
[3.8] bpo-31508: Remove support of arguments in tkinter.ttk.Treeview.selection. (GH-3651)
It was deprecated in 3.6.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 59f1883..8a3f9b0 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -113,3 +113,11 @@ This section lists previously described changes and other bugfixes that may require changes to your code. +Changes in the Python API +------------------------- + +* The :meth:`~tkinter.ttk.Treeview.selection` method of the + :class:`tkinter.ttk.Treeview` class no longer takes arguments. Using it with + arguments for changing the selection was deprecated in Python 3.6. Use + specialized methods like :meth:`~tkinter.ttk.Treeview.selection_set` for + changing the selection. (Contributed by Serhiy Storchaka in :issue:`31508`.) |