mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-26 04:45:20 +01:00
docs: Various typo fixes in docstrings
This commit is contained in:
parent
c6fa1ae8d5
commit
1ceabfc269
1 changed files with 6 additions and 4 deletions
|
@ -227,14 +227,16 @@ class Database(object):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def db_p(self):
|
def db_p(self):
|
||||||
"""Property returning a pointer to the notmuch_database_t or `None`
|
"""Property returning a pointer to `notmuch_database_t` or `None`
|
||||||
|
|
||||||
This should normally not be needed by a user."""
|
This should normally not be needed by a user (and is not yet
|
||||||
|
guaranteed to remain stable in future versions).
|
||||||
|
"""
|
||||||
return self._db
|
return self._db
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
class Query(object):
|
class Query(object):
|
||||||
""" Represents a search query on an opened :class:`Database`.
|
"""Represents a search query on an opened :class:`Database`.
|
||||||
|
|
||||||
A query selects and filters a subset of messages from the notmuch
|
A query selects and filters a subset of messages from the notmuch
|
||||||
database we derive from.
|
database we derive from.
|
||||||
|
@ -276,7 +278,7 @@ class Query(object):
|
||||||
self.create(db, querystr)
|
self.create(db, querystr)
|
||||||
|
|
||||||
def create(self, db, querystr):
|
def create(self, db, querystr):
|
||||||
"""Creates a new query derived from a Database.
|
"""Creates a new query derived from a Database
|
||||||
|
|
||||||
This function is utilized by __init__() and usually does not need to
|
This function is utilized by __init__() and usually does not need to
|
||||||
be called directly.
|
be called directly.
|
||||||
|
|
Loading…
Reference in a new issue