[Python-checkins] cpython (merge 3.2 -> default): merge 3.2
martin.v.loewis
python-checkins at python.org
Thu Jun 14 15:49:11 CEST 2012
http://hg.python.org/cpython/rev/82fc6ff7aa3e
changeset: 77425:82fc6ff7aa3e
parent: 77423:3b5545ba6432
parent: 77424:62030ebb2b01
user: Martin v. Löwis <martin at v.loewis.de>
date: Thu Jun 14 15:37:53 2012 +0200
summary:
merge 3.2
files:
Lib/idlelib/AutoComplete.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py
--- a/Lib/idlelib/AutoComplete.py
+++ b/Lib/idlelib/AutoComplete.py
@@ -140,7 +140,7 @@
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] == '.':
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list