mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
7ad7cfbff2
commit
bb843f63fc
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue