aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/notmuch/query.py
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2012-02-21 00:01:23 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2012-02-21 00:01:23 +0100
commit798b74e859734d12c953390bca0753f8e5e1d67c (patch)
tree3a157398f361364a43437807f4ac425eb9647496 /bindings/python/notmuch/query.py
parenta1442952d4d7fad8b7612502802ee346ac8fd349 (diff)
python: harmonize the sphinx keyword for exceptions
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings/python/notmuch/query.py')
-rw-r--r--bindings/python/notmuch/query.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index 6132ca0..25b9e78 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -89,7 +89,7 @@ class Query(object):
:param querystr: The query string
:type querystr: utf-8 encoded str or unicode
:returns: Nothing
- :exception:
+ :raises:
:exc:`NullPointerError` if the query creation failed
(e.g. too little memory).
:exc:`NotInitializedError` if the underlying db was not
@@ -134,7 +134,7 @@ class Query(object):
to get the value of this flag.
:returns: :class:`Threads`
- :exception: :exc:`NullPointerError` if search_threads failed
+ :raises: :exc:`NullPointerError` if search_threads failed
"""
self._assert_query_is_initialized()
threads_p = Query._search_threads(self._query)
@@ -153,7 +153,7 @@ class Query(object):
:class:`Messages` in the defined sort order
:returns: :class:`Messages`
- :exception: :exc:`NullPointerError` if search_messages failed
+ :raises: :exc:`NullPointerError` if search_messages failed
"""
self._assert_query_is_initialized()
msgs_p = Query._search_messages(self._query)