diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-20 19:21:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 19:21:04 (GMT) |
commit | e188527c343c74574d481b77c30063db1436e62b (patch) | |
tree | 0c871ddefd80d09d182c000fc7ab0cfed91d96ca /Doc/whatsnew | |
parent | 6b80a5b20f31a067bd1c374295608df5f1210f49 (diff) | |
download | cpython-e188527c343c74574d481b77c30063db1436e62b.zip cpython-e188527c343c74574d481b77c30063db1436e62b.tar.gz cpython-e188527c343c74574d481b77c30063db1436e62b.tar.bz2 |
gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784)
It was set to 2 in 65f5e586a1239ed1a66d8284773d7b02ce40e480 (GH-98592).
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index effa554..dd5190d 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -2177,16 +2177,6 @@ Changes in the Python API returned by :meth:`zipfile.ZipFile.open` was changed from ``'r'`` to ``'rb'``. (Contributed by Serhiy Storchaka in :gh:`115961`.) -* Callbacks registered in the :mod:`tkinter` module now take arguments as - various Python objects (``int``, ``float``, ``bytes``, ``tuple``), - not just ``str``. - To restore the previous behavior set :mod:`!tkinter` module global - :data:`!wantobject` to ``1`` before creating the - :class:`!Tk` object or call the :meth:`!wantobject` - method of the :class:`!Tk` object with argument ``1``. - Calling it with argument ``2`` restores the current default behavior. - (Contributed by Serhiy Storchaka in :gh:`66410`.) - Changes in the C API -------------------- |