]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 Jul 2020 02:14:49 +0000 (19:14 -0700)
committerGitHub <noreply@github.com>
Mon, 27 Jul 2020 02:14:49 +0000 (22:14 -0400)
commit104adedf641dc686069a20ae1a05c821b56e4aa4
tree7241bd36709b35c578bd3273f85afea8834703e3
parent33cebe0b9a71da97046fc67c03062987c1049418
bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)

... when an unknown option is passed.  TypeError was being raised because a 2to3 fix was missing.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit f1d40f941a6483b1d4ea10f1051ace7b426fb8e7)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Lib/tkinter/__init__.py
Lib/tkinter/test/test_tkinter/test_widgets.py
Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst [new file with mode: 0644]