mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-27 13:17:56 +01:00
python-cffi: fix typos in docstring for Database.default_path
These generate warnings from sphinx doc, which makes it harder to debug documentation changes. They also corrupt the output.
This commit is contained in:
parent
59aac9cef3
commit
4b361f4d35
1 changed files with 3 additions and 3 deletions
|
@ -187,8 +187,8 @@ class Database(base.NotmuchObject):
|
||||||
|
|
||||||
:param cfg_path: The pathname of the notmuch configuration file.
|
:param cfg_path: The pathname of the notmuch configuration file.
|
||||||
If not specified tries to use the pathname provided in the
|
If not specified tries to use the pathname provided in the
|
||||||
:env:`NOTMUCH_CONFIG` environment variable and falls back
|
:envvar:`NOTMUCH_CONFIG` environment variable and falls back
|
||||||
to :file:`~/.notmuch-config.
|
to :file:`~/.notmuch-config`.
|
||||||
:type cfg_path: str, bytes, os.PathLike or pathlib.Path.
|
:type cfg_path: str, bytes, os.PathLike or pathlib.Path.
|
||||||
|
|
||||||
:returns: The path of the database, which does not necessarily
|
:returns: The path of the database, which does not necessarily
|
||||||
|
@ -198,7 +198,7 @@ class Database(base.NotmuchObject):
|
||||||
be opened.
|
be opened.
|
||||||
:raises configparser.Error: or subclasses if the configuration
|
:raises configparser.Error: or subclasses if the configuration
|
||||||
file can not be parsed.
|
file can not be parsed.
|
||||||
:raises NotmuchError if the config file does not have the
|
:raises NotmuchError: if the config file does not have the
|
||||||
database.path setting.
|
database.path setting.
|
||||||
"""
|
"""
|
||||||
if not cfg_path:
|
if not cfg_path:
|
||||||
|
|
Loading…
Reference in a new issue