python: deprecate Database.db_p
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Thu, 17 May 2012 17:05:53 +0000 (19:05 +0200)
committerJustus Winter <4winter@informatik.uni-hamburg.de>
Thu, 17 May 2012 17:09:25 +0000 (19:09 +0200)
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/python/notmuch/database.py

index 6dab932f8cdad561a04c48522f521cf6cf335158..ee0366cd0c846ce848be42c1a349e38be68d7b81 100644 (file)
@@ -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