1
0
forked from VimPlug/jedi

Fix stub lookups for MixedObject

This commit is contained in:
Dave Halter
2019-06-05 19:46:16 +02:00
parent b24e782b7d
commit da4e6f275e
3 changed files with 18 additions and 5 deletions

View File

@@ -47,9 +47,7 @@ class MixedObject(ContextWrapper):
yield MixedObjectFilter(self.evaluator, self)
def py__call__(self, arguments):
print(self._wrapped_context)
print(to_stub(self._wrapped_context))
return self._wrapped_context.py__call__(arguments)
return (to_stub(self._wrapped_context) or self._wrapped_context).py__call__(arguments)
def __repr__(self):
return '<%s: %s>' % (