X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython-cffi%2Fnotmuch2%2F_tags.py;h=ee5d2a34b2c210540b131539c3b0d159ee942a82;hb=6c84dee53193a78cf797b44d3febcc14488ea6b1;hp=3b14c981a4d9a09ed60430309184c0dae910a3b0;hpb=a00f3a1f7a646d9834a5de57a29cf3e900dbdcdf;p=notmuch diff --git a/bindings/python-cffi/notmuch2/_tags.py b/bindings/python-cffi/notmuch2/_tags.py index 3b14c981..ee5d2a34 100644 --- a/bindings/python-cffi/notmuch2/_tags.py +++ b/bindings/python-cffi/notmuch2/_tags.py @@ -161,7 +161,7 @@ class MutableTagSet(ImmutableTagSet, collections.abc.MutableSet): """ # Since we subclass ImmutableTagSet we inherit a __hash__. But we - # are mutable, setting it to None will make the Python machinary + # are mutable, setting it to None will make the Python machinery # recognise us as unhashable. __hash__ = None @@ -179,7 +179,7 @@ class MutableTagSet(ImmutableTagSet, collections.abc.MutableSet): :raises TypeError: If the tag is not a valid type. :raises TagTooLongError: If the added tag exceeds the maximum - lenght, see ``notmuch_cffi.NOTMUCH_TAG_MAX``. + length, see ``notmuch_cffi.NOTMUCH_TAG_MAX``. :raises ReadOnlyDatabaseError: If the database is opened in read-only mode. """ @@ -204,7 +204,7 @@ class MutableTagSet(ImmutableTagSet, collections.abc.MutableSet): :raises TypeError: If the tag is not a valid type. :raises TagTooLongError: If the tag exceeds the maximum - lenght, see ``notmuch_cffi.NOTMUCH_TAG_MAX``. + length, see ``notmuch_cffi.NOTMUCH_TAG_MAX``. :raises ReadOnlyDatabaseError: If the database is opened in read-only mode. """ @@ -286,7 +286,7 @@ class MutableTagSet(ImmutableTagSet, collections.abc.MutableSet): class TagsIter(base.NotmuchObject, collections.abc.Iterator): """Iterator over tags. - This is only an interator, not a container so calling + This is only an iterator, not a container so calling :meth:`__iter__` does not return a new, replenished iterator but only itself.