summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2018-03-04 10:41:47 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-03-04 10:41:47 (GMT)
commit74382a3f175ac285cc924a73fd758e8dc3cc41bb (patch)
treefd7dfb6e73126cb84a7f794ea55f05fbcce66da1 /Misc
parent7023644e0c310a3006c984318c2c111c468735b4 (diff)
downloadcpython-74382a3f175ac285cc924a73fd758e8dc3cc41bb.zip
cpython-74382a3f175ac285cc924a73fd758e8dc3cc41bb.tar.gz
cpython-74382a3f175ac285cc924a73fd758e8dc3cc41bb.tar.bz2
bpo-32857: Raise error when tkinter after_cancel() is called with None. (GH-5701)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst b/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst
new file mode 100644
index 0000000..4ebbde4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst
@@ -0,0 +1 @@
+In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:`ValueError` instead of canceling the first scheduled function. Patch by Cheryl Sabella.