summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-07-27 02:14:12 (GMT)
committerGitHub <noreply@github.com>2020-07-27 02:14:12 (GMT)
commit8b052751d32c43540e2786ce0b3f7e4b4d0ae161 (patch)
treeab55bb1b10ba0b1c7cdd4aafe527c3c7c74a9bff /Misc
parent6e4975a1c79d8433d9d5b50ff1c655b5b5a2acd2 (diff)
downloadcpython-8b052751d32c43540e2786ce0b3f7e4b4d0ae161.zip
cpython-8b052751d32c43540e2786ce0b3f7e4b4d0ae161.tar.gz
cpython-8b052751d32c43540e2786ce0b3f7e4b4d0ae161.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst b/Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst
new file mode 100644
index 0000000..d797374
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst
@@ -0,0 +1,2 @@
+Raise TclError instead of TypeError when an unknown option is passed to
+tkinter.OptionMenu.