From fcc3f00cd37e78ed4696ad32e1fa1141380fded7 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 18 Jun 2026 16:42:38 +0300 Subject: [PATCH 1/2] gh-59551: Rename Doc/library/dialog.rst to tkinter.dialog.rst --- Doc/library/tk.rst | 2 +- Doc/library/{dialog.rst => tkinter.dialog.rst} | 0 .../Documentation/2026-06-18-16-58-52.gh-issue-59551.oNkjTG.rst | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename Doc/library/{dialog.rst => tkinter.dialog.rst} (100%) create mode 100644 Misc/NEWS.d/next/Documentation/2026-06-18-16-58-52.gh-issue-59551.oNkjTG.rst diff --git a/Doc/library/tk.rst b/Doc/library/tk.rst index fa3c7e910ce21f0..2d9b81fee08167e 100644 --- a/Doc/library/tk.rst +++ b/Doc/library/tk.rst @@ -33,7 +33,7 @@ alternative `GUI frameworks and tools Date: Thu, 18 Jun 2026 17:19:44 +0300 Subject: [PATCH 2/2] Pass the check-html-ids check. --- Doc/tools/check-html-ids.py | 7 ++++--- Doc/tools/removed-ids.txt | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Doc/tools/check-html-ids.py b/Doc/tools/check-html-ids.py index 7d86c6cc3264ad5..3ea0a99d1dd4f68 100644 --- a/Doc/tools/check-html-ids.py +++ b/Doc/tools/check-html-ids.py @@ -78,9 +78,10 @@ def do_check(baseline, checked, excluded, *, verbose_print): try: checked_ids = checked[name] except KeyError: - successful = False - print(f'{name}: (page missing)') - print() + if (name, '(page missing)') not in excluded: + successful = False + print(f'{name}: (page missing)') + print() else: missing_ids = set(baseline_ids) - set(checked_ids) if missing_ids: diff --git a/Doc/tools/removed-ids.txt b/Doc/tools/removed-ids.txt index 81c0f098e4c8a83..bdc69de61f005b9 100644 --- a/Doc/tools/removed-ids.txt +++ b/Doc/tools/removed-ids.txt @@ -33,3 +33,6 @@ reference/expressions.html: grammar-token-python-grammar-set_display # Moved to a different page c-api/typeobj.html: c.Py_tp_base c-api/typeobj.html: c.Py_tp_bases + +# Renamed to library/tkinter.dialog.html +library/dialog.html: (page missing)