Skip to content

Commit 7aecef4

Browse files
miss-islingtonserhiy-storchakaclaude
authored
[3.13] gh-88647: Fix tkinter config() docs for synonym options (GH-153544) (GH-153547)
(cherry picked from commit d52cfd2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 59e183c commit 7aecef4

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
@@ -539,11 +539,8 @@ arguments, or by calling the :meth:`~Misc.keys` method on that widget.
539539
The return value of these calls is a dictionary whose key is the name of the
540540
option as a string (for example, ``'relief'``) and whose values are 5-tuples.
541541

542-
Some options, like ``bg`` are synonyms for common options with long names
543-
(``bg`` is shorthand for "background"). Passing the ``config()`` method the name
544-
of a shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple passed
545-
back will contain the name of the synonym and the "real" option (such as
546-
``('bg', 'background')``).
542+
Some options, like ``bg``, are synonyms for common options with long names
543+
(``bg`` is shorthand for "background").
547544

548545
+-------+---------------------------------+--------------+
549546
| Index | Meaning | Example |

0 commit comments

Comments
 (0)