Question 7/30 fast.ai v3 lecture 10
You want to specify a finalizer (a method that is called when an instance is about to be destroyed). What method do you need to define in order to do so?
Answer
__del__
Screenshot
supplementary material
You can read more about finalizers in Python
here.