From 8672435ca9f8fda1641998fdcc78df875c838c37 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 23 Sep 2026 12:39:52 +0100 Subject: [PATCH] gh-59551: Add redirect for `library/dialog.rst` which was renamed (#157994) --- Doc/conf.py | 2 ++ Doc/tools/removed-ids.txt | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index 1666f7b3b43..0fb8b5cd800 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -635,6 +635,8 @@ rediraffe_redirects = { "library/exceptions.rst": "builtins/exceptions.rst", "library/threadsafety.rst": "builtins/threadsafety.rst", "library/time-complexity.rst": "builtins/time-complexity.rst", + # Renamed to tkinter.dialogs.rst in GH-151656 + "library/dialog.rst": "library/tkinter.dialogs.rst", } # Refuse to run the doctest builder under a mismatched Python diff --git a/Doc/tools/removed-ids.txt b/Doc/tools/removed-ids.txt index d3e4d581bbc..be3c2f38f19 100644 --- a/Doc/tools/removed-ids.txt +++ b/Doc/tools/removed-ids.txt @@ -83,9 +83,6 @@ reference/expressions.html: generator.close reference/expressions.html: generator.send reference/expressions.html: generator.throw -# Renamed to library/tkinter.dialogs.html -library/dialog.html: (page missing) - # Obsolete sections in 'turtle' docs library/turtle.html: changes-since-python-2-6 library/turtle.html: changes-since-python-3-0