aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2019-11-20 11:46:39 +0100
committerDavid Bremner <david@tethera.net>2019-11-20 21:08:15 -0400
commitbb843f63fc0469c2660d5d0a7b49602fcfb2c879 (patch)
tree44ac0481ed0f76cbff8e693712a014d22d58a282
parent7ad7cfbff232431377562271901ee00202bf0bd0 (diff)
python: make some docstrings raw
Fixes: notmuch/message.py:57: DeprecationWarning: invalid escape sequence \s notmuch/query.py:155: DeprecationWarning: invalid escape sequence \. notmuch/messages.py:89: DeprecationWarning: invalid escape sequence \s with Python >= 3.6.
-rw-r--r--bindings/python/notmuch/message.py2
-rw-r--r--bindings/python/notmuch/messages.py2
-rw-r--r--bindings/python/notmuch/query.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py
index 6e32b5f7..e71dbe3e 100644
--- a/bindings/python/notmuch/message.py
+++ b/bindings/python/notmuch/message.py
@@ -46,7 +46,7 @@ import sys
class Message(Python3StringMixIn):
- """Represents a single Email message
+ r"""Represents a single Email message
Technically, this wraps the underlying *notmuch_message_t*
structure. A user will usually not create these objects themselves
diff --git a/bindings/python/notmuch/messages.py b/bindings/python/notmuch/messages.py
index cae5da50..3801c666 100644
--- a/bindings/python/notmuch/messages.py
+++ b/bindings/python/notmuch/messages.py
@@ -32,7 +32,7 @@ from .tag import Tags
from .message import Message
class Messages(object):
- """Represents a list of notmuch messages
+ r"""Represents a list of notmuch messages
This object provides an iterator over a list of notmuch messages
(Technically, it provides a wrapper for the underlying
diff --git a/bindings/python/notmuch/query.py b/bindings/python/notmuch/query.py
index cc70e2aa..bdc18790 100644
--- a/bindings/python/notmuch/query.py
+++ b/bindings/python/notmuch/query.py
@@ -140,7 +140,7 @@ class Query(object):
_search_threads.restype = c_uint
def search_threads(self):
- """Execute a query for threads
+ r"""Execute a query for threads
Execute a query for threads, returning a :class:`Threads` iterator.
The returned threads are owned by the query and as such, will only be