diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-17 06:35:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 06:35:35 (GMT) |
commit | 069cca7c2bcceb95aaf843bee32780f7720efa33 (patch) | |
tree | b076fa64c0c1285f33f2599431c28604d1b14b29 | |
parent | 644b4a1e87b08fb8e67a81cbe474d9c5178ae77c (diff) | |
download | cpython-069cca7c2bcceb95aaf843bee32780f7720efa33.zip cpython-069cca7c2bcceb95aaf843bee32780f7720efa33.tar.gz cpython-069cca7c2bcceb95aaf843bee32780f7720efa33.tar.bz2 |
[3.11] gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (GH-114168) (#114171)
This matches Firefox format. Edge double-spaces non-simple
list but I think it looks worse.
(cherry picked from commit e07a400c310ad3bdd72bb0ae401991af17435e4d)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r-- | Lib/idlelib/help.py | 2 |
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 |