Restores .py file to its original layout