commit | b8c20f90492f9ef2c4600e2739f8e871a31b93c3 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Oct 24 12:59:19 2023 +0300 |
committer | GitHub <noreply@github.com> | Tue Oct 24 12:59:19 2023 +0300 |
tree | 7e0fb6e73a73903d62a347039806fb9f1eb42919 | |
parent | 81eba7645082a192c027e739b8eb99a94b4c0eec [diff] |
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.