You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-86726: Fix and improve tkinter documentation and docstrings
Correct several inaccurate claims and fill gaps in the tkinter reference
and docstrings:
* wm_aspect(), wm_grid() and wm_iconposition() return None, not an empty
string, when no value is set, and overrideredirect() returns None when
the flag is not set.
* Remove the incorrect general note about the return type of the
messagebox ask*() functions.
* tkinter.dialog: Directory is a native dialog; Dialog.destroy() does
nothing; the Dialog options have no defaults.
* Document the ttk OptionMenu and Spinbox in the list of widgets that
replace their Tk counterparts, the Treeview column "separator"
option, and the ttk.OptionMenu "direction" keyword argument.
* Add module docstrings to tkinter.dialog, tkinter.messagebox,
tkinter.commondialog, tkinter.colorchooser and tkinter.font, and a
class docstring to tkinter.dialog.Dialog.
* Fix the "X and X" typo in the wm_iconposition() docstring and the
missing comma and "This modules" typo in module docstrings.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments