def METHOD_NAME(index):
    # JLine indexes from 0 while readline indexes from 1 (at least in test_readline)
    if index>0:
        return _reader.history.historyList[index-1]
    else:
        return None