Commit b841e0ae authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

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.
parent f45153a2
...@@ -32,7 +32,7 @@ class bdist_dumb(Command): ...@@ -32,7 +32,7 @@ class bdist_dumb(Command):
('skip-build', None, ('skip-build', None,
"skip rebuilding everything (for testing/debugging)"), "skip rebuilding everything (for testing/debugging)"),
('relative', None, ('relative', None,
"build the archive using relative paths" "build the archive using relative paths "
"(default: false)"), "(default: false)"),
('owner=', 'u', ('owner=', 'u',
"Owner name used when creating a tar file" "Owner name used when creating a tar file"
......
...@@ -98,14 +98,14 @@ class bdist_msi(Command): ...@@ -98,14 +98,14 @@ class bdist_msi(Command):
('no-target-compile', 'c', ('no-target-compile', 'c',
"do not compile .py to .pyc on the target system"), "do not compile .py to .pyc on the target system"),
('no-target-optimize', 'o', ('no-target-optimize', 'o',
"do not compile .py to .pyo (optimized)" "do not compile .py to .pyo (optimized) "
"on the target system"), "on the target system"),
('dist-dir=', 'd', ('dist-dir=', 'd',
"directory to put final built distributions in"), "directory to put final built distributions in"),
('skip-build', None, ('skip-build', None,
"skip rebuilding everything (for testing/debugging)"), "skip rebuilding everything (for testing/debugging)"),
('install-script=', None, ('install-script=', None,
"basename of installation script to be run after" "basename of installation script to be run after "
"installation or before deinstallation"), "installation or before deinstallation"),
('pre-install-script=', None, ('pre-install-script=', None,
"Fully qualified filename of a script to be run before " "Fully qualified filename of a script to be run before "
......
...@@ -58,7 +58,7 @@ class bdist_rpm(Command): ...@@ -58,7 +58,7 @@ class bdist_rpm(Command):
"RPM \"vendor\" (eg. \"Joe Blow <joe@example.com>\") " "RPM \"vendor\" (eg. \"Joe Blow <joe@example.com>\") "
"[default: maintainer or author from setup script]"), "[default: maintainer or author from setup script]"),
('packager=', None, ('packager=', None,
"RPM packager (eg. \"Jane Doe <jane@example.net>\")" "RPM packager (eg. \"Jane Doe <jane@example.net>\") "
"[default: vendor]"), "[default: vendor]"),
('doc-files=', None, ('doc-files=', None,
"list of documentation files (space or comma-separated)"), "list of documentation files (space or comma-separated)"),
......
...@@ -29,7 +29,7 @@ class bdist_wininst(Command): ...@@ -29,7 +29,7 @@ class bdist_wininst(Command):
('no-target-compile', 'c', ('no-target-compile', 'c',
"do not compile .py to .pyc on the target system"), "do not compile .py to .pyc on the target system"),
('no-target-optimize', 'o', ('no-target-optimize', 'o',
"do not compile .py to .pyo (optimized)" "do not compile .py to .pyo (optimized) "
"on the target system"), "on the target system"),
('dist-dir=', 'd', ('dist-dir=', 'd',
"directory to put final built distributions in"), "directory to put final built distributions in"),
...@@ -40,7 +40,7 @@ class bdist_wininst(Command): ...@@ -40,7 +40,7 @@ class bdist_wininst(Command):
('skip-build', None, ('skip-build', None,
"skip rebuilding everything (for testing/debugging)"), "skip rebuilding everything (for testing/debugging)"),
('install-script=', None, ('install-script=', None,
"basename of installation script to be run after" "basename of installation script to be run after "
"installation or before deinstallation"), "installation or before deinstallation"),
('pre-install-script=', None, ('pre-install-script=', None,
"Fully qualified filename of a script to be run before " "Fully qualified filename of a script to be run before "
......
...@@ -365,7 +365,7 @@ class build_ext(Command): ...@@ -365,7 +365,7 @@ class build_ext(Command):
ext_name, build_info = ext ext_name, build_info = ext
log.warn("old-style (ext_name, build_info) tuple found in " log.warn("old-style (ext_name, build_info) tuple found in "
"ext_modules for extension '%s'" "ext_modules for extension '%s' "
"-- please convert to Extension instance", ext_name) "-- please convert to Extension instance", ext_name)
if not (isinstance(ext_name, str) and if not (isinstance(ext_name, str) and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment