From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 17 May 2012 17:05:53 +0000 (+0200) Subject: python: deprecate Database.db_p X-Git-Tag: 0.14~123 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=892bb1ee6d52556eaf88cc35b61048a4de862352;p=notmuch.git python: deprecate Database.db_p Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 6dab932f..ee0366cd 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -603,7 +603,9 @@ class Database(object): def db_p(self): """Property returning a pointer to `notmuch_database_t` or `None` - This should normally not be needed by a user (and is not yet - guaranteed to remain stable in future versions). + .. deprecated:: 0.14 + 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