def __iter__(self):
        state = random.choice(self.counts.keys())
        while True:
            state = self.next(state)
            yield state
Returns the previous step.
dataset/ETHPy150Open SimonSapin/snippets/markov_passwords.py/MarkovChain.__iter__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/formtools/wizard/views.py/StepsHelper.prev