1
0
forked from VimPlug/jedi

docstring working for local definitions as well

This commit is contained in:
Dave Halter
2014-03-27 12:34:53 +01:00
parent 196fcdb4df
commit b680246195
5 changed files with 23 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ class NameFinder(object):
break
if not result and isinstance(self.scope, er.Instance):
# __getattr__ / __getattribute__
# handling __getattr__ / __getattribute__
for r in self._check_getattr(self.scope):
if not isinstance(r, compiled.CompiledObject):
new_name = copy.copy(r.name)