forked from VimPlug/jedi
Imports are not Statements.
This commit is contained in:
@@ -543,7 +543,7 @@ class Scope(Simple, DocstringMixin):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def statements(self):
|
def statements(self):
|
||||||
return self._search_in_scope((ExprStmt, Import, KeywordStatement))
|
return self._search_in_scope((ExprStmt, KeywordStatement))
|
||||||
|
|
||||||
def is_scope(self):
|
def is_scope(self):
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user