Permalink
Browse files

Import missed a get_set_vars function, which caused an error with use…

…r_stmt checking -> fixes issue 16 of jedi-vim
  • Loading branch information...
1 parent fa9772c commit 658e5833ce6ca88bdc5b3e15c83f3d08e99b2f97 @davidhalter committed Oct 18, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 jedi/parsing.py
  2. +3 −0 test/completion/imports.py
View
@@ -570,6 +570,9 @@ def get_defined_names(self):
else:
return [self.namespace]
+ def get_set_vars(self):
+ return self.get_defined_names()
+
def get_all_import_names(self):
n = []
if self.from_ns:
@@ -86,6 +86,9 @@ def scope_nested():
#? ['kwlist']
kwlist
+#? []
+from keyword import not_existing1, not_existing2
+
from tokenize import io
tokenize.generate_tokens

0 comments on commit 658e583

Please sign in to comment.