def t_INTEGER(t):
    r'\d+'
    try:
        t.value = int(t.value)    
    except ValueError:
        print((t.lineno,t.value) % "Line %d: Number '%s' has some kind of problem (ValueError)!")
        t.value = 0
    return t
dataset/ETHPy150Open pysb/pysb/pysb/deprecated/bng_parser.py/t_INTEGER/swapped operands of `%`