]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 22 Nov 2020 20:48:52 +0000 (22:48 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 20:48:52 +0000 (22:48 +0200)
commitdd844a2916fb3a8f481ec7c732802c13c3375691
treed276bed95a59baa88d2ac047972112349f2fd2c8
parent313467efdc23a1ec8662b77d2001642be598f80a
bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)

The function accepts now the representation of the default state as
empty sequence (as returned by Style.map()).
The structure of the result is now the same on all platform
and does not depend on the value of wantobjects.
Lib/tkinter/test/test_ttk/test_functions.py
Lib/tkinter/test/test_ttk/test_style.py
Lib/tkinter/ttk.py
Misc/NEWS.d/next/Library/2020-11-15-17-02-00.bpo-42328.bqpPlR.rst [new file with mode: 0644]