aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloris Bruynooghe <flub@devork.be>2025-02-24 21:08:19 +0100
committerDavid Bremner <david@tethera.net>2025-02-28 11:31:55 -0400
commited29a9c37ec382fc2d5b1d1ecc1f1fb28a6769c6 (patch)
treecbc0987025220bd28924b5606503139660123dfd
parent4540090443fe814ee2f2b24427e4ff54d90946b1 (diff)
python: Fix message ID docstring
The messageidb attribute does not exist. The returned BinString type already allows use as both strings and binary. Presumably this was written before that type was adopted.
-rw-r--r--bindings/python-cffi/notmuch2/_message.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/bindings/python-cffi/notmuch2/_message.py b/bindings/python-cffi/notmuch2/_message.py
index 4c196074..f4c7ef02 100644
--- a/bindings/python-cffi/notmuch2/_message.py
+++ b/bindings/python-cffi/notmuch2/_message.py
@@ -80,12 +80,6 @@ class Message(base.NotmuchObject):
def messageid(self):
"""The message ID as a string.
- The message ID is decoded with the ignore error handler. This
- is fine as long as the message ID is well formed. If it is
- not valid ASCII then this will be lossy. So if you need to be
- able to write the exact same message ID back you should use
- :attr:`messageidb`.
-
Note that notmuch will decode the message ID value and thus
strip off the surrounding ``<`` and ``>`` characters. This is
different from Python's :mod:`email` package behaviour which