]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97928: Fix handling options starting with "-" in tkinter.Text.count() (GH-98436)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Oct 2022 09:57:18 +0000 (02:57 -0700)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2022 09:57:18 +0000 (02:57 -0700)
commiteee8b99dc3e461e6a0664c8bf449887eb7a1d4c3
tree09dbf7d9b0dd82cb4e9bbeb8c173f0bd4a69792d
parentd0ed05c0189d85f04164ea51c7a36ea6bbb02764
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>
Lib/tkinter/__init__.py
Lib/tkinter/test/test_tkinter/test_text.py
Misc/NEWS.d/next/Library/2022-10-19-09-29-12.gh-issue-97928.xj3im7.rst [new file with mode: 0644]