@property
    def type(self):
        color = self._color
        if color is None:
            return None
        if color.themeColor is not None:
            return MSO_COLOR_TYPE.THEME
        if color.val == ST_HexColorAuto.AUTO:
            return MSO_COLOR_TYPE.AUTO
        return MSO_COLOR_TYPE.RGB
Return with the currently raised exception.
dataset/ETHPy150Open python-openxml/python-docx/docx/dml/color.py/ColorFormat.type--crossover with--dataset/ETHPy150Open numba/numba/numba/objmode.py/PyLower.return_exception_raised