aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs/source/messages.rst
blob: 3ccf505c8d45f0cbac406ceb695791fcdb078f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
:class:`Messages` -- A bunch of messages
========================================

.. currentmodule:: notmuch

.. autoclass:: Messages

   .. automethod:: collect_tags

   .. method:: __len__()

   .. warning::

      :meth:`__len__` was removed in version 0.6 as it exhausted the iterator and broke
      list(Messages()). Use the :meth:`Query.count_messages` function or use `len(list(msgs))`.