From 4d24552758a389f916377176aefa4f10bd50e6a3 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sat, 22 Aug 2009 12:33:28 -0400 Subject: [PATCH] typo --- special-method-names.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 the with block. 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 the with block. 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.