mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-27 05:07:56 +01:00
0888639489
Indent the directive properly to attach it to Threads autoclass documentation. Fixes: WARNING: don't know which module to import for autodocumenting '__str__' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
14 lines
343 B
ReStructuredText
14 lines
343 B
ReStructuredText
: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__
|