def _nth_char(s, ndx):
    if (len(s) == 0):
        return Token.revert
    return (s[(ndx % len(s))],)
def _nth_char(s, ndx):
    if (len(s) == 0):
        return Token.revert
    return (s[(ndx % len(s))],)