mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
python: remove :returns: keywords from functions returning nothing
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
parent
1737ff5290
commit
786f9882e8
3 changed files with 0 additions and 5 deletions
|
@ -176,7 +176,6 @@ class Database(object):
|
||||||
|
|
||||||
:param path: A directory in which we should create the database.
|
:param path: A directory in which we should create the database.
|
||||||
:type path: str
|
:type path: str
|
||||||
:returns: Nothing
|
|
||||||
:raises: :exc:`NotmuchError` in case of any failure
|
:raises: :exc:`NotmuchError` in case of any failure
|
||||||
(possibly after printing an error message on stderr).
|
(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
|
:param status: Open the database in read-only or read-write mode
|
||||||
:type status: :attr:`MODE`
|
:type status: :attr:`MODE`
|
||||||
:returns: Nothing
|
|
||||||
:raises: Raises :exc:`NotmuchError` in case of any failure
|
:raises: Raises :exc:`NotmuchError` in case of any failure
|
||||||
(possibly after printing an error message on stderr).
|
(possibly after printing an error message on stderr).
|
||||||
"""
|
"""
|
||||||
|
@ -699,7 +697,6 @@ class Directory(object):
|
||||||
Retrieves a previously stored mtime for this directory.
|
Retrieves a previously stored mtime for this directory.
|
||||||
|
|
||||||
:param mtime: A (time_t) timestamp
|
:param mtime: A (time_t) timestamp
|
||||||
:returns: Nothing on success, raising an exception on failure.
|
|
||||||
:raises: :exc:`NotmuchError`:
|
:raises: :exc:`NotmuchError`:
|
||||||
|
|
||||||
:attr:`STATUS`.NOT_INITIALIZED
|
:attr:`STATUS`.NOT_INITIALIZED
|
||||||
|
|
|
@ -513,7 +513,6 @@ class Message(Python3StringMixIn):
|
||||||
*Message.FLAG.MATCH*
|
*Message.FLAG.MATCH*
|
||||||
:param value: A bool indicating whether to set or unset the flag.
|
:param value: A bool indicating whether to set or unset the flag.
|
||||||
|
|
||||||
:returns: Nothing
|
|
||||||
:raises: :exc:`NotInitializedError` if the message
|
:raises: :exc:`NotInitializedError` if the message
|
||||||
is not initialized.
|
is not initialized.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -88,7 +88,6 @@ class Query(object):
|
||||||
:type db: :class:`Database`
|
:type db: :class:`Database`
|
||||||
:param querystr: The query string
|
:param querystr: The query string
|
||||||
:type querystr: utf-8 encoded str or unicode
|
:type querystr: utf-8 encoded str or unicode
|
||||||
:returns: Nothing
|
|
||||||
:raises:
|
:raises:
|
||||||
:exc:`NullPointerError` if the query creation failed
|
:exc:`NullPointerError` if the query creation failed
|
||||||
(e.g. too little memory).
|
(e.g. too little memory).
|
||||||
|
|
Loading…
Reference in a new issue