def deserialize(d, **kw):
    names = re.sub("(?:(?:#|//).*?[\r\n])|/[*](?:.|\n)*?[*]/", " ", d).split()

    if names[:1] != ['Start']:
        names.insert(0, 'Start')

    return (
        [('v%d' % i, v_name)
         for i, v_name in enumerate(names)],
        [(i % 'e%d', None, 'v%d' % i, 'v%d' % (i + 1))
         for i in range(len(names) - 1)])
dataset/ETHPy150Open spotify/python-graphwalker/graphwalker/txt.py/deserialize/swapped operands of `%`