]> git.cworth.org Git - notmuch/commitdiff
python/notmuch2: fix typo for ObjectDestroyedError
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 23 Dec 2019 21:02:16 +0000 (16:02 -0500)
committerDavid Bremner <david@tethera.net>
Mon, 23 Dec 2019 22:12:51 +0000 (07:12 +0900)
There is no functional change here, just a fix to a typo in the
docstrings.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
bindings/python-cffi/notmuch2/__init__.py
bindings/python-cffi/notmuch2/_database.py
bindings/python-cffi/notmuch2/_tags.py

index 4d76ec159208e0e9c8559a7edb86b75d91a7cb2d..613317e0953d5a672fde43f8f3da355b5d28769d 100644 (file)
@@ -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
 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
 =================
 
 Memory Management
 =================
index a1c624a7352232c21892949fabd24b9bc64c23e6..7ef4fe170e23bfeba22f340d12806cd8c62b8785 100644 (file)
@@ -342,7 +342,7 @@ class Database(base.NotmuchObject):
     def default_indexopts(self):
         """Returns default index options for the database.
 
     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`.
         """
 
         :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.
 
         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.
         """
 
         :returns: A :class:`DecryptionPolicy` enum instance.
         """
index fe422a7944882d568eeaf81e2a3b7f8099db2bf9..212852a88ea60c7a9887345606d612f5bdcedd64 100644 (file)
@@ -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.
 
     :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()
 
     """
     _tags_p = base.MemoryPointer()