mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
ad1a25f499
commit
34fd4c2019
26 changed files with 38 additions and 40 deletions
|
@ -299,7 +299,7 @@ class CoverageResults:
|
|||
try:
|
||||
outfile = open(path, "w", encoding=encoding)
|
||||
except OSError as err:
|
||||
print(("trace: Could not open %r for writing: %s"
|
||||
print(("trace: Could not open %r for writing: %s "
|
||||
"- skipping" % (path, err)), file=sys.stderr)
|
||||
return 0, 0
|
||||
|
||||
|
@ -644,7 +644,7 @@ def main():
|
|||
grp = parser.add_argument_group('Filters',
|
||||
'Can be specified multiple times')
|
||||
grp.add_argument('--ignore-module', action='append', default=[],
|
||||
help='Ignore the given module(s) and its submodules'
|
||||
help='Ignore the given module(s) and its submodules '
|
||||
'(if it is a package). Accepts comma separated list of '
|
||||
'module names.')
|
||||
grp.add_argument('--ignore-dir', action='append', default=[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue