SIGN IN SIGN UP

gh-97928: Change the behavior of tkinter.Text.count() (GH-98484)

It now always returns an integer if one or less counting options are specified.
Previously it could return a single count as a 1-tuple, an integer (only if
option "update" was specified) or None if no items found.
The result is now the same if wantobjects is set to 0.
S
Serhiy Storchaka committed
b8c20f90492f9ef2c4600e2739f8e871a31b93c3
Parent: 81eba76
Committed by GitHub <noreply@github.com> on 10/24/2023, 9:59:19 AM