mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-10 09:41:31 +08:00
fix a little problem with import keyword autocompletion
This commit is contained in:
@@ -149,7 +149,6 @@ class Script(object):
|
||||
r'(,|from)\s*$|import\s+$', completion_line):
|
||||
completions += ((k, bs) for k
|
||||
in keywords.get_keywords('import'))
|
||||
u = None
|
||||
|
||||
if not path and not isinstance(u, parsing.Import):
|
||||
# add keywords
|
||||
|
||||
Reference in New Issue
Block a user