diff --git a/special-method-names.html b/special-method-names.html index 4e47622..4359bd0 100644 --- a/special-method-names.html +++ b/special-method-names.html @@ -717,8 +717,6 @@ class FieldStorage:

A with block defines a runtime context; you “enter” the context when you execute the with statement, and you “exit” the context after you execute the last statement in the block. -

Any class can be used in a with block; no special methods are required. The Python interpreter will automatically set up the runtime context and dispatch all the property and method lookups to your class. However, if you want your class to do something special upon entering or exiting a runtime context, you can define the following special methods. -
Notes You Want…