]> 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:22 +0000 (00:51 -0800)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 08:51:22 +0000 (00:51 -0800)
commitad49526c80fedf7469bd65b44d8021bab5fb998b
treed2a20ed0cfb05d5a16d3a87b512d0bfafe6eef71
parent734d6d9dfe520741ef2374245b75b84a9ee67748
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]