def get_suffixes(s):
    """
    Return an iterator yielding a string's suffixes, from the largest to the smallest.

    :param s: A text string.
    :return: An iterator for the string's suffixes.
    """
    return (s[pos:] for pos in range(len(s) + 1))