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/idle_test/mock_tk.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/idle_test/mock_tk.py')
| -rw-r--r-- | Lib/idlelib/idle_test/mock_tk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py index 6e351297d7..a54f51f194 100644 --- a/Lib/idlelib/idle_test/mock_tk.py +++ b/Lib/idlelib/idle_test/mock_tk.py @@ -260,7 +260,7 @@ class Text: elif op == '!=': return line1 != line2 or char1 != char2 else: - raise TclError('''bad comparison operator "%s":''' + raise TclError('''bad comparison operator "%s": ''' '''must be <, <=, ==, >=, >, or !=''' % op) # The following Text methods normally do something and return None. |
