When Finalize Method Example In Python What Is A Function