]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129873: IDLE: Improve help.py's method of parsing HTML (#129859)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sun, 9 Feb 2025 08:17:35 +0000 (08:17 +0000)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2025 08:17:35 +0000 (08:17 +0000)
commit6fbf15f98e04f582aeccf5334a94840149ff7cd5
tree31f0a6f7bb66a6b9f1ad62ee481871805b69eef3
parent0d9c4e260d4ea8fd8bc61c58bdf7db4c670470ee
gh-129873: IDLE: Improve help.py's method of parsing HTML (#129859)

In `help.copy_strip`, only copy the text `<section>`.  In `help.HelpParser.handle_starttag` and elsewhere, remove code to skip the no longer present html.  Add a reminder at the top of idle.rst to run copy_strip after changes.
---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/idle.rst
Lib/idlelib/News3.txt
Lib/idlelib/help.html
Lib/idlelib/help.py
Misc/NEWS.d/next/IDLE/2025-02-08-23-42-24.gh-issue-129873.-gofkd.rst [new file with mode: 0644]