diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-11-05 06:52:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 06:52:58 -0800 |
commit | 7beb8c54ede7669a59bb9b912ba0ffd8aa3998c6 (patch) | |
tree | 1ee2650cb71b77d7ae8e04c7cae6fd16b3c27cda /Python | |
parent | 96fb350bfd2c9b66d7804ae27ea8c4adbfabad5b (diff) | |
download | cpython-git-7beb8c54ede7669a59bb9b912ba0ffd8aa3998c6.tar.gz |
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.
(cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index 5d1794720c..709fc4324e 100644 --- a/Python/import.c +++ b/Python/import.c @@ -833,7 +833,7 @@ remove_module(PyObject *name) if (!PyMapping_HasKey(modules, name)) { return; } - Py_FatalError("import: deleting existing key in" + Py_FatalError("import: deleting existing key in " "sys.modules failed"); } } |