cpython/Lib/tkinter
Serhiy Storchaka d2c4baa41f
gh-97928: Partially restore the behavior of tkinter.Text.count() by default (GH-115031)
By default, it preserves an inconsistent behavior of older Python
versions: packs the count into a 1-tuple if only one or none
options are specified (including 'update'), returns None instead of 0.
Except that setting wantobjects to 0 no longer affects the result.

Add a new parameter return_ints: specifying return_ints=True makes
Text.count() always returning the single count as an integer
instead of a 1-tuple or None.
2024-02-11 12:43:14 +02:00
..
__init__.py gh-97928: Partially restore the behavior of tkinter.Text.count() by default (GH-115031) 2024-02-11 12:43:14 +02:00
__main__.py
colorchooser.py
commondialog.py
constants.py
dialog.py
dnd.py
filedialog.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
font.py
messagebox.py
scrolledtext.py
simpledialog.py gh-43457: Tkinter: fix design flaws in wm_attributes() (GH-111404) 2024-02-05 18:24:54 +02:00
ttk.py gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00