1
0
forked from VimPlug/jedi

static analysis is now able to tell the difference between NameError/AttributeError

This commit is contained in:
Dave Halter
2014-05-13 16:14:32 +02:00
parent 7632a7d120
commit 9bcc4f8fd2
3 changed files with 7 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ class Evaluator(object):
scopes = f.scopes(search_global)
if is_goto:
return f.filter_name(scopes)
return f.find(scopes, resolve_decorator)
return f.find(scopes, resolve_decorator, search_global)
@memoize_default(default=[], evaluator_is_first_arg=True)
@recursion.recursion_decorator