undo python 3