diff options
| author | David Bremner <david@tethera.net> | 2016-06-28 16:48:30 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-06-28 16:48:30 +0200 |
| commit | 7fe91ddc4f47170724d455e84d5d262410d569f2 (patch) | |
| tree | 4ba841df17c181ab6a785d408c4e5f8316bda9c1 /bindings/python/docs/source/filesystem.rst | |
| parent | 148ceed198f98524db8482e212804c5a510d696b (diff) | |
| parent | ea5caecec5c50833a6f5a422e217a71eee6324af (diff) | |
Merge tag 'debian/0.22-1' into jessie-backports
notmuch Debian 0.22-1 upload (same as 0.22)
Diffstat (limited to 'bindings/python/docs/source/filesystem.rst')
| -rw-r--r-- | bindings/python/docs/source/filesystem.rst | 6 |
1 files changed, 5 insertions, 1 deletions
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 ------------------------------------------------------ |
