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.
class Message(Python3StringMixIn):
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
Technically, this wraps the underlying *notmuch_message_t*
structure. A user will usually not create these objects themselves
from .message import Message
class Messages(object):
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
This object provides an iterator over a list of notmuch messages
(Technically, it provides a wrapper for the underlying
_search_threads.restype = c_uint
def search_threads(self):
_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
Execute a query for threads, returning a :class:`Threads` iterator.
The returned threads are owned by the query and as such, will only be