Issue #14937: Fix typo. Patch by Roger Serwy.

This commit is contained in:
Martin v. Löwis 2012-06-14 15:37:21 +02:00
parent 27b130e702
commit 993fe3f035
1 changed files with 1 additions and 1 deletions

View File

@ -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] == '.':