]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152587: Stop documenting bogus default values in tkinter variable methods...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jun 2026 14:09:17 +0000 (16:09 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 14:09:17 +0000 (17:09 +0300)
commit05c7a7082cab166edbb8f7b51477ecd69983d4c2
tree22e6a321c2be3dc52c5042725daddaeaa39c5f84
parentf4c2316428d1d8d3901dafbb41df95306850f468
[3.15] gh-152587: Stop documenting bogus default values in tkinter variable methods (GH-152594) (GH-152596)

The name parameter of Misc.wait_variable(), setvar() and getvar() and the
value parameter of setvar() should not be optional.  Their default values
('PY_VAR' and '1') are not meaningful and should not be advertised.
(cherry picked from commit e134a1aa36027fb3c8bd9493028072365b19479b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.rst