aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs/source/tags.rst
blob: 31527d4b48ba53a7d343ce9c222dee9a959df3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
:class:`Tags` -- Notmuch tags
-----------------------------

.. currentmodule:: notmuch

.. autoclass:: Tags
   :members:

   .. method:: __len__

       .. warning::

            :meth:`__len__` was removed in version 0.6 as it exhausted the iterator and broke
            list(Tags()). Use :meth:`len(list(msgs))` instead if you need to know the number of
            tags.

   .. automethod:: __str__