diff --git a/special-method-names.html b/special-method-names.html index e80498f..722a06b 100644 --- a/special-method-names.html +++ b/special-method-names.html @@ -761,7 +761,7 @@ def __exit__(self, *args):
-☞The
__exit__()method will always be called, even if an exception is raised inside thewithblock. In fact, if an exception is raises, the exception information will be passed to the__exit__()method. See With Statement Context Managers for more details. +☞The
__exit__()method will always be called, even if an exception is raised inside thewithblock. In fact, if an exception is raised, the exception information will be passed to the__exit__()method. See With Statement Context Managers for more details.
For more on context managers, see Closing Files Automatically and Redirecting Standard Output.