X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fdocs%2Fsource%2Ffilesystem.rst;h=558c93de592af64be4c15839cf541a6d1f95fa4d;hb=5d510221d17862a252955d98046508bebcd14573;hp=4eb781077940046a3e57e50d9f0969cb44806dd4;hpb=60e512d84fd04291f552503f139ae6893b25018b;p=notmuch diff --git a/bindings/python/docs/source/filesystem.rst b/bindings/python/docs/source/filesystem.rst index 4eb78107..558c93de 100644 --- a/bindings/python/docs/source/filesystem.rst +++ b/bindings/python/docs/source/filesystem.rst @@ -8,9 +8,13 @@ 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 +:class:`Directory` -- A directory entry in the database ------------------------------------------------------ .. autoclass:: Directory