1
0
forked from VimPlug/jedi

globals are more or less ready.

This commit is contained in:
Dave Halter
2014-10-17 18:48:07 +02:00
parent f08811fba7
commit 74d4fcf4e7
4 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ class NameFinder(object):
defined.
"""
if isinstance(scope, pr.Flow) \
or isinstance(scope, pr.KeywordStatement) and scope.name == 'global':
or isinstance(scope, pr.GlobalStmt):
if isinstance(name_list_scope, er.Class):
name_list_scope = name_list_scope.base