Fix stub lookups for MixedObject
This commit is contained in:
1 parent
b24e782b7d
commit
da4e6f275e
3 files changed
+18
-5
No files matched your search
@@ -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>' % (
|
||||
|
||||
Reference in new issue
Block a user