From: Michael J Gruber <git@grubix.eu>
To: notmuch@notmuchmail.org
Subject: [PATCH 1/3] python/notmuch2: correct docstring for Database.count_messages()
Date: Wed, 6 Jan 2021 10:08:40 +0100 [thread overview]
Message-ID: <415e4bc6d0df225ed5cb7cb4cca89bf13509f517.1609347527.git.git@grubix.eu> (raw)
In-Reply-To: <cover.1609347527.git.git@grubix.eu>
Signed-off-by: Michael J Gruber <git@grubix.eu>
---
bindings/python-cffi/notmuch2/_database.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bindings/python-cffi/notmuch2/_database.py b/bindings/python-cffi/notmuch2/_database.py
index 868f4408..31b282f6 100644
--- a/bindings/python-cffi/notmuch2/_database.py
+++ b/bindings/python-cffi/notmuch2/_database.py
@@ -605,10 +605,10 @@ class Database(base.NotmuchObject):
omit_excluded=EXCLUDE.TRUE,
sort=SORT.UNSORTED, # Check this default
exclude_tags=None):
- """Search the database for messages.
+ """Search the database for messages and count.
- :returns: An iterator over the messages found.
- :rtype: MessageIter
+ :returns: The number of messages found.
+ :rtype: int
:raises ObjectDestroyedError: if used after destroyed.
"""
--
2.30.0.rc0.297.gbcca948854
next prev parent reply other threads:[~2021-01-06 9:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 9:08 [PATCH 0/3] python/notmuch2: a few docstrings and collect_tags() Michael J Gruber
2021-01-06 9:08 ` Michael J Gruber [this message]
2021-01-06 9:08 ` [PATCH 2/3] python/notmuch2: docstrings for Database.threads(), Database.count_threads() Michael J Gruber
2021-01-06 9:08 ` [PATCH 3/3] python/notmuch2: provide binding for collect_tags() Michael J Gruber
2021-01-11 20:33 ` Floris Bruynooghe
2021-02-11 17:06 ` Michael J Gruber
2021-01-07 14:35 ` [PATCH 0/3] python/notmuch2: a few docstrings and collect_tags() David Bremner
[not found] ` <E1kxYme-0002nO-P1@sphinx.mythic-beasts.com>
2021-01-11 20:47 ` Floris Bruynooghe
2021-01-12 9:13 ` Michael J Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=415e4bc6d0df225ed5cb7cb4cca89bf13509f517.1609347527.git.git@grubix.eu \
--to=git@grubix.eu \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).