summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2024-01-17 05:24:59 (GMT)
committerGitHub <noreply@github.com>2024-01-17 05:24:59 (GMT)
commite07a400c310ad3bdd72bb0ae401991af17435e4d (patch)
tree0178c9a6de344b19d15a356df19f330bfbbe622f /Lib/idlelib
parent8d26db45df479a54eccd2aced7d8a5ea9fd0ffa5 (diff)
downloadcpython-e07a400c310ad3bdd72bb0ae401991af17435e4d.zip
cpython-e07a400c310ad3bdd72bb0ae401991af17435e4d.tar.gz
cpython-e07a400c310ad3bdd72bb0ae401991af17435e4d.tar.bz2
gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (#114168)
This matches Firefox format. Edge double-spaces non-simple list but I think it looks worse.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index dfccfcb..bdf4b2b 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -102,7 +102,7 @@ class HelpParser(HTMLParser):
if self.level > 0:
self.nested_dl = True
elif tag == 'li':
- s = '\n* ' if self.simplelist else '\n\n* '
+ s = '\n* '
elif tag == 'dt':
s = '\n\n' if not self.nested_dl else '\n' # Avoid extra line.
self.nested_dl = False