summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-14 13:38:12 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-14 13:38:12 (GMT)
commitf0f6bd633217f04c5e64354b5640da98ed28540a (patch)
tree31bf14c98fa15d228d5d4ef99157b5353dbd8820
parent2d7911eda4866250c58498f0143b9465635fa775 (diff)
downloadcpython-f0f6bd633217f04c5e64354b5640da98ed28540a.zip
cpython-f0f6bd633217f04c5e64354b5640da98ed28540a.tar.gz
cpython-f0f6bd633217f04c5e64354b5640da98ed28540a.tar.bz2
#7926: fix-up wording.
-rw-r--r--Doc/whatsnew/2.6.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 8bfbbab..c6f7c2d 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -470,7 +470,8 @@ statement both starts a database transaction and acquires a thread lock::
...
Finally, the :func:`closing` function returns its argument so that it can be
-bound to a variable, and calls ``object.close`` at the end of the block. ::
+bound to a variable, and calls the argument's ``.close()`` method at the end
+of the block. ::
import urllib, sys
from contextlib import closing