mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48: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):
|
||||
"""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
|
||||
|
|
Loading…
Reference in a new issue