diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-06-14 13:37:21 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-06-14 13:37:21 (GMT) |
commit | 993fe3f0357b3539f770c64ae249809981069345 (patch) | |
tree | 34ace5c63e54f523d15ad26b28f10c157390abaa /Lib | |
parent | 27b130e7026843de85954c4c976ec96c0e226987 (diff) | |
download | cpython-993fe3f0357b3539f770c64ae249809981069345.zip cpython-993fe3f0357b3539f770c64ae249809981069345.tar.gz cpython-993fe3f0357b3539f770c64ae249809981069345.tar.bz2 |
Issue #14937: Fix typo. Patch by Roger Serwy.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/AutoComplete.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py index 6b5391b..e4c1aff 100644 --- a/Lib/idlelib/AutoComplete.py +++ b/Lib/idlelib/AutoComplete.py @@ -143,7 +143,7 @@ class AutoComplete: elif hp.is_in_code() and (not mode or mode==COMPLETE_ATTRIBUTES): self._remove_autocomplete_window() mode = COMPLETE_ATTRIBUTES - while i and curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127: + while i and (curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127): i -= 1 comp_start = curline[i:j] if i and curline[i-1] == '.': |