summaryrefslogtreecommitdiff
path: root/contrib/python-legacy/docs/source/messages.rst
blob: 3ccf505c8d45f0cbac406ceb695791fcdb078f61 (plain)
: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))`.