From: Martin v. Löwis Date: Thu, 14 Jun 2012 13:37:21 +0000 (+0200) Subject: Issue #14937: Fix typo. Patch by Roger Serwy. X-Git-Tag: v3.3.0b1~211^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=993fe3f0357b3539f770c64ae249809981069345;p=python Issue #14937: Fix typo. Patch by Roger Serwy. --- diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py index 6b5391ba79..e4c1aff3dc 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] == '.':