def wipe(self):
        'clear the journal, reverting to the last applied state.'
        self.changes = []
clear the journal, reverting to the last applied state.
recipes/Python/521882_Journal_Dictionary/recipe-521882.py