[issue44481] Tkinter config() minor documentation bug for shorthand options

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The specific subsection link is https://docs.python.org/3/library/tkinter.html#setting-options The outputs >>> import tkinter as tk >>> r = tk.Tk() >>> r.config('bg') ('background', 'background', 'Background', , 'SystemButtonFace') >>> r.config()['bg']

[issue44481] Tkinter config() minor documentation bug for shorthand options

2021-06-21 Thread Jeff S
New submission from Jeff S : 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