@classmethod
    def from_ansi(cls, ansi_string, filter_resets = False):
        result = cls()
        res = cls.ANSI_REG.search(ansi_string)
        for group in res.groups():
            sequence = map(int,group.split(';'))
            result.add_ansi(sequence, filter_resets)
        return result
Convert a Python `Fraction` object to `dtype`.
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Style.from_ansi--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/fractionfield.py/FractionField.from_QQ_python