1
0
forked from VimPlug/jedi

Passing Function tests now.

This commit is contained in:
Dave Halter
2014-09-22 14:06:38 +02:00
parent c4e45916c6
commit 8f3301f281
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ class NameFinder(object):
evaluation, so remove them already here!
"""
for n in names:
definition = n.parent.parent
definition = n.parent
if isinstance(definition, (pr.Function, pr.Class, pr.Module)):
yield er.wrap(self._evaluator, definition).name
else: