mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 20:38:08 +01:00
python: deprecate Database.db_p
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
parent
8f667be2ac
commit
892bb1ee6d
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue