From: Terry Jan Reedy
Date: Tue, 13 Jan 2026 03:58:30 +0000 (-0500)
Subject: [3.13] gh-139707: Copy-strip change to idle.rst into idlelib (#143767)
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d80c60678d6d9057333c767b35c6d3f2870173;p=thirdparty%2FPython%2Fcpython.git
[3.13] gh-139707: Copy-strip change to idle.rst into idlelib (#143767)
Copy net new text in idle.rst from main to 3.13.
Make 3.13 docs and copy-strip idle.html to idlelib/help.html.
See https://github.com/python/cpython/issues/139707#issuecomment-3737374788
and PR #143718 message for more.
* Revert url to 'main' from '3.13'
The branch in the source links in the revised help.html
become '3.13' instead of 'main' because the html
was generated from an edited 3.13 version of idle.rst
instead being backported from main. This reversion
avoids the possibility of future backport merge conflicts.
The version makes no difference to the Help/IDLE doc display as
the url is currently neither displayed nor linked to the link title
-- 'Lib/idlelib'. If we do make the links live, we can use
sys.version_info to replace 'main' when main is no longer the source branch.
---
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index 9e87704c2862..8249eeb15cce 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -37,6 +37,11 @@ IDLE has the following features:
* configuration, browsers, and other dialogs
+The IDLE application is implemented in the :mod:`idlelib` package.
+
+This is an optional module. If it is missing from your copy of CPython, look for documentation from your distributor (that is, whoever provided Python to you).
+If you are the distributor, see Requirements for optional modules.
+
Menus
-----
diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html
index fc618ab727d1..822ee99479c9 100644
--- a/Lib/idlelib/help.html
+++ b/Lib/idlelib/help.html
@@ -16,6 +16,9 @@ through multiple files (grep)
of global and local namespaces
configuration, browsers, and other dialogs
+The IDLE application is implemented in the idlelib package.
+This is an optional module. If it is missing from your copy of CPython, look for documentation from your distributor (that is, whoever provided Python to you).
+If you are the distributor, see Requirements for optional modules.