def _type_of_literal(value):
    if value[0].isalpha():
        return token.NAME
    elif value in grammar.opmap:
        return grammar.opmap[value]
    else:
        return None
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/patcomp.py/_type_of_literal/original