]> git.cworth.org Git - notmuch/commit
bindings/python-cffi: fix docstring for message.header()
authorMichael J Gruber <git@grubix.eu>
Tue, 4 Mar 2025 12:39:43 +0000 (13:39 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 14 Mar 2025 00:18:15 +0000 (21:18 -0300)
commit5802f5d6269172222a6fccf5908eae833014917b
tree9dc06f975cc93453097fe7bd927accc8642bd63b
parent537d225e2fd572fb892ccf777b7343496b6dad84
bindings/python-cffi: fix docstring for message.header()

The cffi bindings raise a LookupError in case a header is not present.
Adjust the docstring to say so.

The legacy bindings behaved differently, and this is one of the things
to be aware of when migrating to the cffi bindings.
bindings/python-cffi/notmuch2/_message.py