python: deprecate Database.db_p

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
Justus Winter 2012-05-17 19:05:53 +02:00
parent 8f667be2ac
commit 892bb1ee6d

View file

@ -603,7 +603,9 @@ class Database(object):
def db_p(self): def db_p(self):
"""Property returning a pointer to `notmuch_database_t` or `None` """Property returning a pointer to `notmuch_database_t` or `None`
This should normally not be needed by a user (and is not yet .. deprecated:: 0.14
guaranteed to remain stable in future versions). If you really need a pointer to the notmuch
database object use the `_pointer` field. This
alias will be removed in notmuch 0.15.
""" """
return self._db return self._db