Re: [PATCH] bindings/python-cffi: fix docstring for message.header()

2025-03-15 Thread David Bremner
michaeljgruber+grubix+...@gmail.com writes: > From: Michael J Gruber > > 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

[PATCH] bindings/python-cffi: fix docstring for message.header()

2025-03-04 Thread michaeljgruber+grubix+git
From: Michael J Gruber 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