Pure Functions And Modifiers In Python