def __add__(self, om):
        if not isinstance(om, self.__class__) or om.ring != self.ring:
            try:
                om = self.ring.convert(om)
            except (__HOLE__, CoercionFailed):
                return NotImplemented
        return self.ring(self.data + om.data)
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/quotientring.py/QuotientRingElement.__add__