def trim(line):
    if not '#' in line:
        return line
    return line.split('#')[0]
Return the errors output.
dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/qasm.py/trim--crossover with--dataset/ETHPy150Open google/simian/src/simian/auth/base.py/AuthBase.ErrorOutput