aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-21 00:15:59 +0100
committerGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-21 00:15:59 +0100
commit786f9882e8b408e6ad4c6b7abfef1ac54144be15 (patch)
treec2c82df1bfdd513614204059f6ec964b108ca54e /bindings
parent1737ff5290a8ce1f66b4a7aeb6a16146dbc3517c (diff)
python: remove :returns: keywords from functions returning nothing
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/notmuch/database.py3
-rw-r--r--bindings/python/notmuch/message.py1
-rw-r--r--bindings/python/notmuch/query.py1
3 files changed, 0 insertions, 5 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py
index 9f6b3800..d8413671 100644
--- a/bindings/python/notmuch/database.py
+++ b/bindings/python/notmuch/database.py
@@ -176,7 +176,6 @@ class Database(object):
:param path: A directory in which we should create the database.
:type path: str
- :returns: Nothing
:raises: :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
@@ -200,7 +199,6 @@ class Database(object):
:param status: Open the database in read-only or read-write mode
:type status: :attr:`MODE`
- :returns: Nothing
:raises: Raises :exc:`NotmuchError` in case of any failure
(possibly after printing an error message on stderr).
"""
@@ -699,7 +697,6 @@ class Directory(object):
Retrieves a previously stored mtime for this directory.
:param mtime: A (time_t) timestamp
- :returns: Nothing on success, raising an exception on failure.
:raises: :exc:`NotmuchError`:
:attr:`STATUS`.NOT_INITIALIZED
diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py
index ce7cb885..9ebb53d5 100644
--- a/bindings/python/notmuch/message.py
+++ b/bindings/python/notmuch/message.py
@@ -513,7 +513,6 @@ class Message(Python3StringMixIn):
*Message.FLAG.MATCH*
:param value: A bool indicating whether to set or unset the flag.
- :returns: Nothing
:raises: :exc:`NotInitializedError` if the message
is not initialized.
"""
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index 25b9e780..15ed153e 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -88,7 +88,6 @@ class Query(object):
:type db: :class:`Database`
:param querystr: The query string
:type querystr: utf-8 encoded str or unicode
- :returns: Nothing
:raises:
:exc:`NullPointerError` if the query creation failed
(e.g. too little memory).