Does Finalize Method In Python Example