summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-10-19 09:30:14 (GMT)
committerGitHub <noreply@github.com>2022-10-19 09:30:14 (GMT)
commite4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d (patch)
tree30cd723475774de40d91035af10a14e720b712b6 /Misc
parent1b684c8f5f738b56f859e5c87b7280610b90399f (diff)
downloadcpython-e4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d.zip
cpython-e4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d.tar.gz
cpython-e4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d.tar.bz2
gh-97928: Fix handling options starting with "-" in tkinter.Text.count() (GH-98436)
Previously they were silently ignored. Now they are errors.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-19-09-29-12.gh-issue-97928.xj3im7.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-19-09-29-12.gh-issue-97928.xj3im7.rst b/Misc/NEWS.d/next/Library/2022-10-19-09-29-12.gh-issue-97928.xj3im7.rst
new file mode 100644
index 0000000..cf33db7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-19-09-29-12.gh-issue-97928.xj3im7.rst
@@ -0,0 +1,2 @@
+:meth:`tkinter.Text.count` raises now an exception for options starting with
+"-" instead of silently ignoring them.