essively with state == 0, 1, 2, ... until it
        returns None.  The completion should begin with 'text'.

        r