]> git.notmuchmail.org Git - notmuch/blob - bindings/python/docs/source/messages.rst
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / bindings / python / docs / source / messages.rst
1 :class:`Messages` -- A bunch of messages
2 ========================================
3
4 .. currentmodule:: notmuch
5
6 .. autoclass:: Messages
7
8    .. automethod:: collect_tags
9
10    .. method:: __len__()
11
12    .. warning::
13
14       :meth:`__len__` was removed in version 0.6 as it exhausted the iterator and broke
15       list(Messages()). Use the :meth:`Query.count_messages` function or use `len(list(msgs))`.