mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
python/notmuch2: fix typo for ObjectDestroyedError
There is no functional change here, just a fix to a typo in the docstrings. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
b5db6aa127
commit
34c5233894
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ Errors
|
||||||
All errors occuring due to errors from the underlying notmuch database
|
All errors occuring due to errors from the underlying notmuch database
|
||||||
are subclasses of the :exc:`NotmuchError`. Due to memory management
|
are subclasses of the :exc:`NotmuchError`. Due to memory management
|
||||||
it is possible to try and use an object after it has been freed. In
|
it is possible to try and use an object after it has been freed. In
|
||||||
this case a :exc:`ObjectDestoryedError` will be raised.
|
this case a :exc:`ObjectDestroyedError` will be raised.
|
||||||
|
|
||||||
Memory Management
|
Memory Management
|
||||||
=================
|
=================
|
||||||
|
|
|
@ -342,7 +342,7 @@ class Database(base.NotmuchObject):
|
||||||
def default_indexopts(self):
|
def default_indexopts(self):
|
||||||
"""Returns default index options for the database.
|
"""Returns default index options for the database.
|
||||||
|
|
||||||
:raises ObjectDestoryedError: if used after destroyed.
|
:raises ObjectDestroyedError: if used after destroyed.
|
||||||
|
|
||||||
:returns: :class:`IndexOptions`.
|
:returns: :class:`IndexOptions`.
|
||||||
"""
|
"""
|
||||||
|
@ -770,7 +770,7 @@ class IndexOptions(base.NotmuchObject):
|
||||||
You can change this policy by assigning a new
|
You can change this policy by assigning a new
|
||||||
:class:`DecryptionPolicy` to this property.
|
:class:`DecryptionPolicy` to this property.
|
||||||
|
|
||||||
:raises ObjectDestoryedError: if used after destroyed.
|
:raises ObjectDestroyedError: if used after destroyed.
|
||||||
|
|
||||||
:returns: A :class:`DecryptionPolicy` enum instance.
|
:returns: A :class:`DecryptionPolicy` enum instance.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -277,7 +277,7 @@ class TagsIter(base.NotmuchObject, collections.abc.Iterator):
|
||||||
:param errors: If using a codec, this is the error handler.
|
:param errors: If using a codec, this is the error handler.
|
||||||
See :func:`str.decode` to which this is passed on.
|
See :func:`str.decode` to which this is passed on.
|
||||||
|
|
||||||
:raises ObjectDestoryedError: if used after destroyed.
|
:raises ObjectDestroyedError: if used after destroyed.
|
||||||
"""
|
"""
|
||||||
_tags_p = base.MemoryPointer()
|
_tags_p = base.MemoryPointer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue