diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-05 16:20:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 16:20:25 +0200 |
commit | 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d (patch) | |
tree | 7219828610de765ae5c41883b590d5c6f598ade2 /Lib/idlelib/hyperparser.py | |
parent | ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 (diff) | |
download | cpython-git-34fd4c20198dea6ab2fe8dc6d32d744d9bde868d.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.
Diffstat (limited to 'Lib/idlelib/hyperparser.py')
-rw-r--r-- | Lib/idlelib/hyperparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/hyperparser.py b/Lib/idlelib/hyperparser.py index 7581fe274b..7e7e0ae802 100644 --- a/Lib/idlelib/hyperparser.py +++ b/Lib/idlelib/hyperparser.py @@ -224,7 +224,7 @@ class HyperParser: given index, which is empty if there is no real one. """ if not self.is_in_code(): - raise ValueError("get_expression should only be called" + raise ValueError("get_expression should only be called " "if index is inside a code.") rawtext = self.rawtext |