Question 8/30 fast.ai v3 lecture 10


What method do you need to define to specify what happens upon entering the runtime context related to an object (in other words, to specify what will get bound inside the with statement when called with this object)?

Answer

__enter___

Screenshot

supplementary material

You can read more about the with statement here