https://github.com/python/cpython/commit/e07a400c310ad3bdd72bb0ae401991af17435e4d
commit: e07a400c310ad3bdd72bb0ae401991af17435e4d
branch: main
author: Terry Jan Reedy <[email protected]>
committer: terryjreedy <[email protected]>
date: 2024-01-17T05:24:59Z
summary:
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.
files:
M Lib/idlelib/help.py
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index dfccfcb9bda89a..bdf4b2b29f11a2 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -102,7 +102,7 @@ def handle_starttag(self, tag, attrs):
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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]