From 580bdb0ece681537eadb360f0c796123ead7a559 Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Tue, 3 Sep 2019 23:52:58 +0300 Subject: bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664) The HTML5 output from Sphinx 2.x adds '

' tags within list elements. Using a new prevtag attribute, ignore these instead of emitting unwanted '\n\n'. Also stop looking for 'first' classes on tags (no longer present) and fix the bug of double-spacing instead of single spacing after

 blocks.
---
 Lib/idlelib/help.html | 386 +++++++++++++++++++++++++++++---------------------
 Lib/idlelib/help.py   |  10 +-
 2 files changed, 229 insertions(+), 167 deletions(-)

diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html
index 91e66a4..0754f24 100644
--- a/Lib/idlelib/help.html
+++ b/Lib/idlelib/help.html
@@ -1,11 +1,9 @@
 
-
+
 
 
   
-    
-    
+    
     IDLE — Python 3.9.0a0 documentation
     
     
@@ -108,17 +106,17 @@
 

IDLE is Python’s Integrated Development and Learning Environment.

IDLE has the following features:

@@ -357,32 +421,26 @@ and that other files do not. Run Python code with the Run menu.

In this section, ‘C’ refers to the Control key on Windows and Unix and the Command key on macOS.