1
0
forked from VimPlug/jedi

Move some finder stuff around

This commit is contained in:
Dave Halter
2019-08-24 02:28:58 +02:00
parent 3828532065
commit e148d5120f
4 changed files with 13 additions and 16 deletions

View File

@@ -571,7 +571,7 @@ def tree_name_to_values(inference_state, context, tree_name):
node = tree_name.parent
if node.type == 'global_stmt':
c = context.create_context(tree_name)
finder = NameFinder(inference_state, c, c, tree_name.value)
finder = NameFinder(c, c, tree_name.value)
# For global_stmt lookups, we only need the first possible scope,
# which means the function itself.
filters = [next(c.get_filters())]