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 | |
| 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')
| -rw-r--r-- | bindings/python/docs/source/filesystem.rst | 6 | ||||
| -rw-r--r-- | bindings/python/docs/source/status_and_errors.rst | 6 | ||||
| -rw-r--r-- | bindings/python/docs/source/threads.rst | 8 |
3 files changed, 17 insertions, 3 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 ------------------------------------------------------ diff --git a/bindings/python/docs/source/status_and_errors.rst b/bindings/python/docs/source/status_and_errors.rst index dd6e31f8..68913f16 100644 --- a/bindings/python/docs/source/status_and_errors.rst +++ b/bindings/python/docs/source/status_and_errors.rst @@ -47,5 +47,11 @@ The following exceptions are all directly derived from NotmuchError. Each of the :members: .. autoexception:: UnbalancedAtomicError(message=None) :members: +.. autoexception:: UnsupportedOperationError(message=None) + :members: +.. autoexception:: UpgradeRequiredError(message=None) + :members: +.. autoexception:: PathError(message=None) + :members: .. autoexception:: NotInitializedError(message=None) :members: diff --git a/bindings/python/docs/source/threads.rst b/bindings/python/docs/source/threads.rst index e5a8c8a9..4324ac82 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__ +.. automethod:: __str__ |
