diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-05 14:20:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 14:20:25 (GMT) |
commit | 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d (patch) | |
tree | 7219828610de765ae5c41883b590d5c6f598ade2 /Tools/scripts | |
parent | ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 (diff) | |
download | cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.zip cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.tar.gz cpython-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.tar.bz2 |
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
Two kind of mistakes:
1. Missed space. After concatenating there is no space between words.
2. Missed comma. Causes unintentional concatenating in a list of strings.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/texi2html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/texi2html.py b/Tools/scripts/texi2html.py index 9c1e9fe..5565c21 100755 --- a/Tools/scripts/texi2html.py +++ b/Tools/scripts/texi2html.py @@ -1806,7 +1806,7 @@ class HTMLHelp: print('<!-- This file defines the table of contents -->', file=fp) print('<HTML>', file=fp) print('<HEAD>', file=fp) - print('<meta name="GENERATOR"' + print('<meta name="GENERATOR" ' 'content="Microsoft® HTML Help Workshop 4.1">', file=fp) print('<!-- Sitemap 1.0 -->', file=fp) print('</HEAD>', file=fp) @@ -1831,7 +1831,7 @@ class HTMLHelp: print('<!-- This file defines the index -->', file=fp) print('<HTML>', file=fp) print('<HEAD>', file=fp) - print('<meta name="GENERATOR"' + print('<meta name="GENERATOR" ' 'content="Microsoft® HTML Help Workshop 4.1">', file=fp) print('<!-- Sitemap 1.0 -->', file=fp) print('</HEAD>', file=fp) |