From f0f6bd633217f04c5e64354b5640da98ed28540a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 14 Feb 2010 13:38:12 +0000 Subject: [PATCH] #7926: fix-up wording. --- Doc/whatsnew/2.6.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 8bfbbab2cc7..c6f7c2da471 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