Skip to content

Commit c2caada

Browse files
terryjreedyaisk
authored andcommitted
pythongh-81479: For Help => IDLE Doc, stop double-spacing some lists. (python#114168)
This matches Firefox format. Edge double-spaces non-simple list but I think it looks worse.
1 parent 60b712c commit c2caada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def handle_starttag(self, tag, attrs):
102102
if self.level > 0:
103103
self.nested_dl = True
104104
elif tag == 'li':
105-
s = '\n* ' if self.simplelist else '\n\n* '
105+
s = '\n* '
106106
elif tag == 'dt':
107107
s = '\n\n' if not self.nested_dl else '\n' # Avoid extra line.
108108
self.nested_dl = False

0 commit comments

Comments
 (0)