diff options
author | Georg Brandl <georg@python.org> | 2009-02-27 16:52:55 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-02-27 16:52:55 (GMT) |
commit | fbb995f6c2fe6eda6e41b5525baedb3a48a2ed3b (patch) | |
tree | 09282cd256e323de85c84c45271a0587fec640a0 /Doc | |
parent | ee6361f7d8421ca91ef2199d24123fe34ad2ea6c (diff) | |
download | cpython-fbb995f6c2fe6eda6e41b5525baedb3a48a2ed3b.zip cpython-fbb995f6c2fe6eda6e41b5525baedb3a48a2ed3b.tar.gz cpython-fbb995f6c2fe6eda6e41b5525baedb3a48a2ed3b.tar.bz2 |
#5344: fix punctuation.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index f04f194..cbc8d85 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 |