diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-12-23 16:02:16 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-12-24 07:12:51 +0900 |
| commit | 34c5233894f5143baaf5d4fc94df68fc186409d6 (patch) | |
| tree | a1fb81af08379edebafddc30478c5c1aab39d74e /bindings/python-cffi/notmuch2 | |
| parent | b5db6aa1277e9e5645976a2dfdec2baaea385877 (diff) | |
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>
Diffstat (limited to 'bindings/python-cffi/notmuch2')
| -rw-r--r-- | bindings/python-cffi/notmuch2/__init__.py | 2 | ||||
| -rw-r--r-- | bindings/python-cffi/notmuch2/_database.py | 4 | ||||
| -rw-r--r-- | bindings/python-cffi/notmuch2/_tags.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/bindings/python-cffi/notmuch2/__init__.py b/bindings/python-cffi/notmuch2/__init__.py index 4d76ec15..613317e0 100644 --- a/bindings/python-cffi/notmuch2/__init__.py +++ b/bindings/python-cffi/notmuch2/__init__.py @@ -13,7 +13,7 @@ Errors All errors occuring due to errors from the underlying notmuch database 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 -this case a :exc:`ObjectDestoryedError` will be raised. +this case a :exc:`ObjectDestroyedError` will be raised. Memory Management ================= diff --git a/bindings/python-cffi/notmuch2/_database.py b/bindings/python-cffi/notmuch2/_database.py index a1c624a7..7ef4fe17 100644 --- a/bindings/python-cffi/notmuch2/_database.py +++ b/bindings/python-cffi/notmuch2/_database.py @@ -342,7 +342,7 @@ class Database(base.NotmuchObject): def default_indexopts(self): """Returns default index options for the database. - :raises ObjectDestoryedError: if used after destroyed. + :raises ObjectDestroyedError: if used after destroyed. :returns: :class:`IndexOptions`. """ @@ -770,7 +770,7 @@ class IndexOptions(base.NotmuchObject): You can change this policy by assigning a new :class:`DecryptionPolicy` to this property. - :raises ObjectDestoryedError: if used after destroyed. + :raises ObjectDestroyedError: if used after destroyed. :returns: A :class:`DecryptionPolicy` enum instance. """ diff --git a/bindings/python-cffi/notmuch2/_tags.py b/bindings/python-cffi/notmuch2/_tags.py index fe422a79..212852a8 100644 --- a/bindings/python-cffi/notmuch2/_tags.py +++ b/bindings/python-cffi/notmuch2/_tags.py @@ -277,7 +277,7 @@ class TagsIter(base.NotmuchObject, collections.abc.Iterator): :param errors: If using a codec, this is the error handler. 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() |
