X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fdocs%2Fsource%2Fthreads.rst;h=46ce5be5412a5ed3430000e1a6fdc06bdf6eab2a;hb=44862764d27d29fbfb9ded12b1112abe104fb7e1;hp=e5a8c8a95d1861ba755c34e7cd7c643a13836aaa;hpb=d50171d1cc575a41bf620c55853ade65d0edfad8;p=notmuch diff --git a/bindings/python/docs/source/threads.rst b/bindings/python/docs/source/threads.rst index e5a8c8a9..46ce5be5 100644 --- a/bindings/python/docs/source/threads.rst +++ b/bindings/python/docs/source/threads.rst @@ -5,6 +5,10 @@ .. autoclass:: Threads - .. automethod:: __len__ + .. 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__