diff options
| author | David Bremner <david@tethera.net> | 2022-07-03 17:26:46 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-07-05 07:34:25 -0300 |
| commit | db44af75ad5a79b3fd5ecad93fe95195ef175ebd (patch) | |
| tree | 22cc348bf80f57ed1ea8558b64c96e601a257559 /bindings/python-cffi/notmuch2/_message.py | |
| parent | bf9e206925a892adecfaf31b48b14d024885b806 (diff) | |
bindings/python-cffi: fix docstring
the method Database.get_message does exist any more (if it ever
did). This makes the docstring unhelpful as an example.
Diffstat (limited to 'bindings/python-cffi/notmuch2/_message.py')
| -rw-r--r-- | bindings/python-cffi/notmuch2/_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python-cffi/notmuch2/_message.py b/bindings/python-cffi/notmuch2/_message.py index aa1cb875..d4b34e91 100644 --- a/bindings/python-cffi/notmuch2/_message.py +++ b/bindings/python-cffi/notmuch2/_message.py @@ -26,7 +26,7 @@ class Message(base.NotmuchObject): package from Python's standard library. You could e.g. create this as such:: - notmuch_msg = db.get_message(msgid) # or from a query + notmuch_msg = db.find(msgid) # or from a query parser = email.parser.BytesParser(policy=email.policy.default) with notmuch_msg.path.open('rb) as fp: email_msg = parser.parse(fp) |
