Skip to content

Commit d52cfd2

Browse files
gh-88647: Fix tkinter config() docs for synonym options (GH-153544)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a1ef41a commit d52cfd2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Doc/library/tkinter.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,8 @@ arguments, or by calling the :meth:`~Misc.keys` method on that widget.
545545
The return value of these calls is a dictionary whose key is the name of the
546546
option as a string (for example, ``'relief'``) and whose values are 5-tuples.
547547

548-
Some options, like ``bg`` are synonyms for common options with long names
549-
(``bg`` is shorthand for "background"). Passing the ``config()`` method the name
550-
of a shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple passed
551-
back will contain the name of the synonym and the "real" option (such as
552-
``('bg', 'background')``).
548+
Some options, like ``bg``, are synonyms for common options with long names
549+
(``bg`` is shorthand for "background").
553550

554551
+-------+---------------------------------+--------------+
555552
| Index | Meaning | Example |

0 commit comments

Comments
 (0)