1
0
forked from VimPlug/jedi

included test from #162 (seems to be working), fixes #162

This commit is contained in:
David Halter
2013-05-03 15:01:30 +04:30
parent 300d43de19
commit c37515f938
2 changed files with 16 additions and 1 deletions

View File

@@ -349,8 +349,8 @@ class SubModule(Scope, Module):
:param name: The name of the global.
:type name: Name
"""
self.global_vars.append(name)
# set no parent here, because globals are not defined in this scope.
self.global_vars.append(name)
def get_set_vars(self):
n = super(SubModule, self).get_set_vars()