From 3fc3bfbd8e132d4ab5ae80724d667812473857b6 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 11 Jul 2026 11:04:29 +0300 Subject: [PATCH] gh-88647: Fix tkinter config() docs for synonym options Co-Authored-By: Claude Opus 4.8 --- Doc/library/tkinter.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index fe54e831afbcd49..d2bd075c2e17d74 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -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 |