From e07a400c310ad3bdd72bb0ae401991af17435e4d Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 17 Jan 2024 00:24:59 -0500 Subject: 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. --- Lib/idlelib/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12