diff options
| -rw-r--r-- | Doc/whatsnew/2.6.rst | 3 |
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 |
