1
0
forked from VimPlug/jedi

Fix a first test: complex.py

This commit is contained in:
Dave Halter
2014-10-20 17:06:18 +02:00
parent 43e3452474
commit c821b30017
4 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -250,7 +250,9 @@ def get_instance_el(evaluator, instance, var, is_class_var=False):
# TODO temp solution, remove later, Name should never get
# here?
par = get_instance_el(evaluator, instance, var.parent, is_class_var)
return pr.Name(var._sub_module, unicode(var), par, var.start_pos)
name = pr.Name(unicode(var), var.start_pos)
name.parent = par
return name
return var
var = wrap(evaluator, var)