This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author spirko
Recipients spirko
Date 2021-06-21.23:44:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624319051.28.0.321773416541.issue44481@roundup.psfhosted.org>
In-reply-to
Content
The documentation page https://docs.python.org/3/library/tkinter.html states "Passing the config() method the name of a shorthand option will return a 2-tuple, not 5-tuple."  While config() without argument does return a map that yields references like this, if config() is given the shorthand name as an argument, it follows the reference to the long option name and does yield the full 5-tuple.

To demonstrate the difference:

from tkinter import Tk

Tk().config()['bg']

Tk().config('bg')
History
Date User Action Args
2021-06-21 23:44:11spirkosetrecipients: + spirko
2021-06-21 23:44:11spirkosetmessageid: <1624319051.28.0.321773416541.issue44481@roundup.psfhosted.org>
2021-06-21 23:44:11spirkolinkissue44481 messages
2021-06-21 23:44:11spirkocreate