aboutsummaryrefslogtreecommitdiff
path: root/contrib/python-legacy/docs/source/threads.rst
blob: 46ce5be5412a5ed3430000e1a6fdc06bdf6eab2a (plain)
:class:`Threads` -- Threads iterator
====================================

.. currentmodule:: notmuch

.. autoclass:: Threads

   .. method:: __len__
   .. warning::
      :meth:`__len__` was removed in version 0.22 as it exhausted the
      iterator and broke list(Threads()). Use `len(list(msgs))`
      instead.

   .. automethod:: __str__