Document contextlib.closing.
Merge pull request #1867 from Lukasa/closing

Document contextlib.closing.