]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/docs/source/filesystem.rst
Fix typos as found by codespell
[notmuch] / bindings / python / docs / source / filesystem.rst
index 685dc4d342cc31ac2b60ebeb8230542ec1167ed1..558c93de592af64be4c15839cf541a6d1f95fa4d 100644 (file)
@@ -8,11 +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.
 
-   .. automethod:: Filenames.as_generator
-
-:class:`Directoy` -- A directory entry in the database
+:class:`Directory` -- A directory entry in the database
 ------------------------------------------------------
 
 .. autoclass:: Directory