]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-88647: Fix tkinter config() docs for synonym options (GH-153544) (GH-153546)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jul 2026 08:21:57 +0000 (10:21 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 08:21:57 +0000 (08:21 +0000)
(cherry picked from commit d52cfd2a0ec4423ed94bda640deefdfcf053bd8e)

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

index ec0ec48a5959af8ee39a147d9249d42edfe364ae..f3250baa4a16b65224f7400e2b8d565a75b1bb95 100644 (file)
@@ -541,11 +541,8 @@ arguments, or by calling the :meth:`~Misc.keys` method on that widget.
 The return value of these calls is a dictionary whose key is the name of the
 option as a string (for example, ``'relief'``) and whose values are 5-tuples.
 
-Some options, like ``bg`` are synonyms for common options with long names
-(``bg`` is shorthand for "background"). Passing the ``config()`` method the name
-of a shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple passed
-back will contain the name of the synonym and the "real" option (such as
-``('bg', 'background')``).
+Some options, like ``bg``, are synonyms for common options with long names
+(``bg`` is shorthand for "background").
 
 +-------+---------------------------------+--------------+
 | Index | Meaning                         | Example      |