1
0
forked from VimPlug/jedi

Start making executions work.

This commit is contained in:
Dave Halter
2014-10-16 10:58:27 +02:00
parent 7b91050c85
commit 887949e23f
3 changed files with 36 additions and 5 deletions

View File

@@ -581,7 +581,9 @@ class SubModule(Scope, Module):
string = re.sub('\.[a-z]+-\d{2}[mud]{0,3}$', '', r.group(1))
# Positions are not real, but a module starts at (1, 0)
p = (1, 0)
return Name(self, string, self.use_as_parent, p)
name = Name(string, p)
name.parent = self
return name
@property
def has_explicit_absolute_import(self):