From fbb995f6c2fe6eda6e41b5525baedb3a48a2ed3b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 27 Feb 2009 16:52:55 +0000 Subject: [PATCH] #5344: fix punctuation. --- Doc/whatsnew/2.6.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index f04f194376d..cbc8d85bea8 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -270,7 +270,7 @@ structure is:: The expression is evaluated, and it should result in an object that supports the context management protocol (that is, has :meth:`__enter__` and :meth:`__exit__` -methods. +methods). The object's :meth:`__enter__` is called before *with-block* is executed and therefore can run set-up code. It also may return a value that is bound to the