diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-10-19 09:30:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 09:30:14 (GMT) |
commit | e4ec8de6fa6f0a07e64f6a3e3f894926b4b0652d (patch) | |
tree | 30cd723475774de40d91035af10a14e720b712b6 /Misc | |
parent | 1b684c8f5f738b56f859e5c87b7280610b90399f (diff) | |
download | cpython-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.rst | 2 |
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. |