summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAkuli <akuviljanen17@gmail.com>2020-07-27 01:48:17 (GMT)
committerGitHub <noreply@github.com>2020-07-27 01:48:17 (GMT)
commitf1d40f941a6483b1d4ea10f1051ace7b426fb8e7 (patch)
tree6994171a9e8539ec7478bb51689683505b97fa1e /Misc
parent52bf4706a3e35dd001f12e102c4082c4987daad5 (diff)
downloadcpython-f1d40f941a6483b1d4ea10f1051ace7b426fb8e7.zip
cpython-f1d40f941a6483b1d4ea10f1051ace7b426fb8e7.tar.gz
cpython-f1d40f941a6483b1d4ea10f1051ace7b426fb8e7.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>
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.