diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-05 16:16:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 16:16:26 (GMT) |
commit | 3e3e1a27f769b3385853fbcad6749e71ca7f3ce3 (patch) | |
tree | 0b5729147c721846e3224556b758d1ae564661fe /Python/import.c | |
parent | 6bf85acf601fddc27ae2941af1f1fde7c5fccb89 (diff) | |
download | cpython-3e3e1a27f769b3385853fbcad6749e71ca7f3ce3.zip cpython-3e3e1a27f769b3385853fbcad6749e71ca7f3ce3.tar.gz cpython-3e3e1a27f769b3385853fbcad6749e71ca7f3ce3.tar.bz2 |
[2.7] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335) (GH-10336)
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)
(cherry picked from commit 7054e5c80b6e98cd44e22d1bc2d7f0a94343089d)
Diffstat (limited to 'Python/import.c')
-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 f43a47c..ccbd949 100644 --- a/Python/import.c +++ b/Python/import.c @@ -701,7 +701,7 @@ remove_module(const char *name) if (PyDict_GetItemString(modules, name) == NULL) return; if (PyDict_DelItemString(modules, name) < 0) - Py_FatalError("import: deleting existing key in" + Py_FatalError("import: deleting existing key in " "sys.modules failed"); } |