X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fthread.py;h=c599bcbf647d4f625a10c71f0aeaa8b7ff2dc60b;hb=69f077898a65c10453d08dd94bf4c94efc69b91b;hp=5c580288e505c0a39672ea89bf5caa1aeb2d7aff;hpb=a1442952d4d7fad8b7612502802ee346ac8fd349;p=obsolete%2Fnotmuch-old diff --git a/bindings/python/notmuch/thread.py b/bindings/python/notmuch/thread.py index 5c580288..c599bcbf 100644 --- a/bindings/python/notmuch/thread.py +++ b/bindings/python/notmuch/thread.py @@ -28,7 +28,7 @@ from notmuch.globals import ( NotmuchMessagesP, NotmuchTagsP, ) -from notmuch.message import Messages +from .messages import Messages from notmuch.tag import Tags from datetime import date @@ -248,7 +248,7 @@ class Thread(object): for as long as the thread is valid. :returns: String with a message ID - :exception: :exc:`NotInitializedError` if the thread + :raises: :exc:`NotInitializedError` if the thread is not initialized. """ if not self._thread: @@ -265,7 +265,7 @@ class Thread(object): :returns: The number of all messages in the database belonging to this thread. Contrast with :meth:`get_matched_messages`. - :exception: :exc:`NotInitializedError` if the thread + :raises: :exc:`NotInitializedError` if the thread is not initialized. """ if not self._thread: @@ -309,7 +309,7 @@ class Thread(object): :returns: The number of all messages belonging to this thread that matched the :class:`Query`from which this thread was created. Contrast with :meth:`get_total_messages`. - :exception: :exc:`NotInitializedError` if the thread + :raises: :exc:`NotInitializedError` if the thread is not initialized. """ if not self._thread: @@ -351,7 +351,7 @@ class Thread(object): :returns: A time_t timestamp. :rtype: c_unit64 - :exception: :exc:`NotInitializedError` if the message + :raises: :exc:`NotInitializedError` if the message is not initialized. """ if not self._thread: @@ -363,7 +363,7 @@ class Thread(object): :returns: A time_t timestamp. :rtype: c_unit64 - :exception: :exc:`NotInitializedError` if the message + :raises: :exc:`NotInitializedError` if the message is not initialized. """ if not self._thread: