Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 993fe3f

Browse files
committed
Issue #14937: Fix typo. Patch by Roger Serwy.
1 parent 27b130e commit 993fe3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/AutoComplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def open_completions(self, evalfuncs, complete, userWantsWin, mode=None):
143143
elif hp.is_in_code() and (not mode or mode==COMPLETE_ATTRIBUTES):
144144
self._remove_autocomplete_window()
145145
mode = COMPLETE_ATTRIBUTES
146-
while i and curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127:
146+
while i and (curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127):
147147
i -= 1
148148
comp_start = curline[i:j]
149149
if i and curline[i-1] == '.':

0 commit comments

Comments
 (0)