def ancestors(node):
    results = []
    try:
        current = node.parent()
    except AttributeError:
        # if node is a leaf, we cannot retrieve its parent
        return results
    while current:
        results.append(current)
        current = current.parent()
    return results
Return True if any of the files have changed.
dataset/ETHPy150Open nltk/nltk/nltk/tgrep.py/ancestors--crossover with--dataset/ETHPy150Open mozilla/addons-server/docs/watcher.py/timecheck