mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
merge 3.2
This commit is contained in:
commit
f20940792d
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
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] == '.':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue