summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-19 09:57:27 (GMT)
committerGitHub <noreply@github.com>2022-10-19 09:57:27 (GMT)
commit30b9c4d7842d97abbc49d57e031671d60704723b (patch)
treeff6509ccda25c8cfd538ed248d9ea55646adbcb2 /Misc
parenta847255cbbe5e52b871c0746ebafa07a00a335f4 (diff)
downloadcpython-30b9c4d7842d97abbc49d57e031671d60704723b.zip
cpython-30b9c4d7842d97abbc49d57e031671d60704723b.tar.gz
cpython-30b9c4d7842d97abbc49d57e031671d60704723b.tar.bz2
gh-97928: Fix handling options starting with "-" in tkinter.Text.count() (GH-98436)
Previously they were silently ignored. Now they are errors. (cherry picked from commit e4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.