diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-06-14 13:37:53 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-06-14 13:37:53 (GMT) |
commit | 474eb23b7fb0f66315eb975a712433ee8c247e68 (patch) | |
tree | 2170d875442fc8434bc08ed78ef2577316d5ac06 | |
parent | c142bba2a7ead80b99aef44b3dca06e2a4be4923 (diff) | |
parent | 993fe3f0357b3539f770c64ae249809981069345 (diff) | |
download | cpython-474eb23b7fb0f66315eb975a712433ee8c247e68.zip cpython-474eb23b7fb0f66315eb975a712433ee8c247e68.tar.gz cpython-474eb23b7fb0f66315eb975a712433ee8c247e68.tar.bz2 |
merge 3.2
-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 b38b108..929d358 100644 --- a/Lib/idlelib/AutoComplete.py +++ b/Lib/idlelib/AutoComplete.py @@ -140,7 +140,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] == '.': |