]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 25 Dec 2020 15:04:26 +0000 (17:04 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Dec 2020 15:04:26 +0000 (17:04 +0200)
commitbb70b2afe39ad4334a9f3449cddd28149bd628b6
tree6d86d962cf07b543fa5d25078a24bd4b9cee54ed
parent954a7427ba9c2d02faed32c02090caeca873aeca
bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904)

Use `widget is None` instead of checking the boolean value of a widget.
Lib/tkinter/__init__.py
Lib/tkinter/commondialog.py
Lib/tkinter/dnd.py
Lib/tkinter/font.py
Lib/tkinter/simpledialog.py
Lib/tkinter/tix.py
Lib/tkinter/ttk.py
Misc/NEWS.d/next/Library/2020-12-21-22-59-26.bpo-15303.zozVrq.rst [new file with mode: 0644]