8000 gh-129873: IDLE: Improve help.py's method of parsing HTML by StanFromIreland · Pull Request #129859 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-129873: IDLE: Improve help.py's method of parsing HTML #129859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Feb 9, 2025
Prev Previous commit
Next Next commit
Remove accidentally added import
Added during testing and forgot to remove. Also remove self.show def
  • Loading branch information
StanFromIreland committed Feb 8, 2025
commit 00bca4311075d82f046b0fdcff4bc8fea6e9b8a7
2 changes: 0 additions & 2 deletions Lib/idlelib/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

show_idlehelp - Create HelpWindow. Called in EditorWindow.help_dialog.
"""
import os
from html.parser import HTMLParser
from os.path import abspath, dirname, isfile, join
from platform import python_version
Expand Down Expand Up @@ -55,7 +54,6 @@ def __init__(self, text):
self.text = text # Text widget we're rendering into.
self.tags = '' # Current block level text tags to apply.
self.chartags = '' # Current character level text tags.
self.show = False # Exclude html page navigation.
self.hdrlink = False # Exclude html header links.
self.level = 0 # Track indentation level.
self.pre = False # Displaying preformatted text?
Expand Down
0