]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Nov 2020 08:51:37 +0000 (00:51 -0800)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 08:51:37 +0000 (00:51 -0800)
commit3e5330130810e485f1abbf192590b7109880a4da
tree0c2f3692e25e89d0d1bfa8d1adc381050187a687
parent5aa6c99da1087ded0ccb99bb12591e5ab31d75c3
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.
(cherry picked from commit dd844a2916fb3a8f481ec7c732802c13c3375691)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]