From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 18 Jun 2026 13:44:12 +0000 (+0200) Subject: [3.15] gh-86726: Fix "deprecated" directive for wm_attributes (GH-151652) (GH-151654) X-Git-Tag: v3.15.0b3~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0125168a81a9781561d231be37f18031cdb21ba8;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-86726: Fix "deprecated" directive for wm_attributes (GH-151652) (GH-151654) (cherry picked from commit d47c27e47a6c6969737616f2f58036a5f536e60a) Co-authored-by: Serhiy Storchaka --- diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 6e26698d7512..5c40eadcf49c 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -2458,7 +2458,7 @@ Base and mixin classes ``-``, and attributes may be set using keyword arguments. The *return_python_dict* parameter was added. - .. deprecated:: next + .. deprecated:: 3.13 Setting an attribute by passing the option name (with a leading ``-``) and its value as two positional arguments, as in ``w.attributes('-alpha', 0.5)``, is deprecated; use keyword arguments