Message396301
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') |
|
Date |
User |
Action |
Args |
2021-06-21 23:44:11 | spirko | set | recipients:
+ spirko |
2021-06-21 23:44:11 | spirko | set | messageid: <1624319051.28.0.321773416541.issue44481@roundup.psfhosted.org> |
2021-06-21 23:44:11 | spirko | link | issue44481 messages |
2021-06-21 23:44:11 | spirko | create | |
|