def infer_call_result(self, caller, context=None): """infer what a class is returning when called""" yield Instance(self)