python: document the Database.close function
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 30 Apr 2012 17:48:45 +0000 (19:48 +0200)
committerJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 30 Apr 2012 17:48:45 +0000 (19:48 +0200)
commitca1e232e5fa35c2fabe0ef4fcb78911bcffe67b8
tree12d907542b96111f8d0e2bd1503d33622b21595b
parente9bcbe7e70d0811f11e58466735b2bf7c8f0a3fc
python: document the Database.close function

Put a prominent warning into the docstring of Database.close, make the
function show up in the sphinx doc and refer to the warning in the
paragraph mentioning the context manager protocol.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/python/docs/source/database.rst
bindings/python/notmuch/database.py