]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-50409: Modernize tkinter.PanedWindow.paneconfigure() (GH-152399)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 11 Jul 2026 06:01:54 +0000 (09:01 +0300)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 06:01:54 +0000 (06:01 +0000)
commit93128f52f2b7fa6181a91d3f6a81a212c7cffa8e
tree3f276b5d2ff4ace408b64eee8e27e56b4fb7784c
parentf212f219a508ff9c3601d7af39eca926462a9b80
gh-50409: Modernize tkinter.PanedWindow.paneconfigure() (GH-152399)

Rename the first parameter of paneconfigure() (and its paneconfig alias)
from 'tagOrId' to 'child', for consistency with add(), remove() and
panecget() -- PanedWindow panes are child widgets, not tagged items.  The
old 'tagOrId' keyword still works but raises DeprecationWarning.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.rst
Lib/test/test_tkinter/test_widgets.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2026-06-27-11-32-37.gh-issue-50409.Pw3Kq9.rst [new file with mode: 0644]