#7926: fix-up wording.

This commit is contained in:
Georg Brandl 2010-02-14 13:38:12 +00:00
parent 2d7911eda4
commit f0f6bd6332
1 changed files with 2 additions and 1 deletions

View File

@ -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