def _upcast(self, other, inst): return inst.ex(self, other, type_cls=most_specific(self, other))
def _upcast(a, b, inst): return inst.ex(a, b, type_cls = most_specific(a, b))
def _upcast(self, other, inst): return inst.ex(self, other, type_cls = most_specific(self, other))
def _upcast(a, b, inst): return inst.ex(a, b, type_cls=most_specific(a, b))