aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-05-17 19:05:53 +0200
committerGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-05-17 19:09:25 +0200
commit892bb1ee6d52556eaf88cc35b61048a4de862352 (patch)
treeaf48741075b4e7f6680d1894f96212b3429b4c73 /bindings
parent8f667be2aca7d903a82344490045dff4110f68d7 (diff)
python: deprecate Database.db_p
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/notmuch/database.py6
1 files changed, 4 insertions, 2 deletions
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