1
0
forked from VimPlug/jedi

fix a problem with statements without parents

This commit is contained in:
David Halter
2013-04-20 14:12:15 +04:30
parent a7308fa51d
commit 8c56fba1e9

View File

@@ -394,6 +394,7 @@ class Parser(object):
stmt = stmt_class(self.module, set_vars, used_vars, tok_list,
first_pos, self.end_pos)
stmt.parent = self.top_module
self._check_user_stmt(stmt)
# Attribute docstring (PEP 257) support