cpython/Lib/tkinter
Miss Islington (bot) 8777a0cf02
[3.15] gh-78335: Complete the widget option lists in tkinter docstrings (GH-152485) (GH-152500)
Several widget __init__ docstrings omitted valid options, and Menubutton and
Message had no option list at all.  List every option supported by the widget,
tagging those added in Tk 9.0 and 9.1.

Add test_options_in_docstring, asserting that every option in OPTIONS is named
in the widget's __init__ docstring.  Options reported by keys() but not in the
docstring are only printed in verbose mode, as some depend on the Tk version.
(cherry picked from commit ba0c0e6be1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 19:53:52 +03:00
..
__init__.py [3.15] gh-78335: Complete the widget option lists in tkinter docstrings (GH-152485) (GH-152500) 2026-06-28 19:53:52 +03:00
__main__.py
colorchooser.py bpo-33289: Return RGB triplet of ints instead of floats from tkinter.colorchooser (GH-6578) 2021-01-21 21:14:04 +02:00
commondialog.py gh-84623: Remove unused imports in stdlib (#93773) 2022-06-13 16:28:41 +02:00
constants.py
dialog.py gh-73588: Fix generation of the default name of tkinter.Checkbutton. (GH-97547) 2022-09-27 14:05:05 +03:00
dnd.py bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904) 2020-12-25 17:04:26 +02:00
filedialog.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
font.py gh-140481: Improve error message when trying to iterate a Tk widget, image or font (GH-140501) 2025-10-30 13:11:56 +02:00
messagebox.py [3.15] gh-82830: Improve tkinter messagebox docstrings and cursor documentation (GH-152380) (GH-152386) 2026-06-27 11:30:15 +00:00
scrolledtext.py gh-136839: Refactor simple dict.update calls (#136811) 2025-07-19 10:12:10 -07:00
simpledialog.py gh-127930: use explicit imports in tkinter.simpledialog (#127931) 2025-12-14 12:38:42 +02:00
ttk.py [3.15] gh-78335: Complete the widget option lists in tkinter docstrings (GH-152485) (GH-152500) 2026-06-28 19:53:52 +03:00