]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-88647: Fix tkinter config() docs for synonym options (GH-153544)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 11 Jul 2026 08:13:37 +0000 (11:13 +0300)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 08:13:37 +0000 (08:13 +0000)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.rst

index fe54e831afbcd49d14dce7cd2cfac88762dc717c..d2bd075c2e17d74a68e29dc2a4fef9ed80d51832 100644 (file)
@@ -545,11 +545,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      |