X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython%2Fdocs%2Fsource%2Ffilesystem.rst;fp=bindings%2Fpython%2Fdocs%2Fsource%2Ffilesystem.rst;h=a23ae41a875685214c45a57bfb41720e29f3538f;hp=4eb781077940046a3e57e50d9f0969cb44806dd4;hb=096c600b96e5d556b67ac01263a1364d0b8e9115;hpb=e2ecf2b0ebd41257eb82dc1c1ff6d0d970209356 diff --git a/bindings/python/docs/source/filesystem.rst b/bindings/python/docs/source/filesystem.rst index 4eb78107..a23ae41a 100644 --- a/bindings/python/docs/source/filesystem.rst +++ b/bindings/python/docs/source/filesystem.rst @@ -8,7 +8,11 @@ Files and directories .. autoclass:: Filenames - .. automethod:: Filenames.__len__ + .. method:: Filenames.__len__ + .. warning:: + :meth:`__len__` was removed in version 0.22 as it exhausted the + iterator and broke list(Filenames()). Use `len(list(names))` + instead. :class:`Directoy` -- A directory entry in the database ------------------------------------------------------