aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2018-01-02 10:32:38 -0500
committerDavid Bremner <david@tethera.net>2018-01-04 20:35:58 -0400
commit54982e520c3bee74e947e311ee5b1219396fa1a8 (patch)
treecb9d6680c54a5425930a7c3a9dfc79800dc7982c /bindings/python
parent0c6ec8c5572755ec39ca92c43d3aa4e4aef3f81d (diff)
fix typos
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/notmuch/database.py4
-rw-r--r--bindings/python/notmuch/filenames.py2
-rw-r--r--bindings/python/notmuch/message.py4
-rw-r--r--bindings/python/notmuch/messages.py2
-rw-r--r--bindings/python/notmuch/tag.py2
-rw-r--r--bindings/python/notmuch/thread.py2
-rw-r--r--bindings/python/notmuch/threads.py2
7 files changed, 9 insertions, 9 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py
index a1ae14fc..342d665a 100644
--- a/bindings/python/notmuch/database.py
+++ b/bindings/python/notmuch/database.py
@@ -566,7 +566,7 @@ class Database(object):
:returns: :class:`Message` or `None` if no message is found.
:raises:
:exc:`OutOfMemoryError`
- If an Out-of-memory occured while constructing the message.
+ If an Out-of-memory occurred while constructing the message.
:exc:`XapianError`
In case of a Xapian Exception. These exceptions
include "Database modified" situations, e.g. when the
@@ -591,7 +591,7 @@ class Database(object):
function returns None if no message is found with the given
filename.
- :raises: :exc:`OutOfMemoryError` if an Out-of-memory occured while
+ :raises: :exc:`OutOfMemoryError` if an Out-of-memory occurred while
constructing the message.
:raises: :exc:`XapianError` in case of a Xapian Exception.
These exceptions include "Database modified"
diff --git a/bindings/python/notmuch/filenames.py b/bindings/python/notmuch/filenames.py
index 29f4fdf6..3bbc22b9 100644
--- a/bindings/python/notmuch/filenames.py
+++ b/bindings/python/notmuch/filenames.py
@@ -67,7 +67,7 @@ class Filenames(Python3StringMixIn):
def __init__(self, files_p, parent):
"""
:param files_p: A pointer to an underlying *notmuch_tags_t*
- structure. These are not publically exposed, so a user
+ structure. These are not publicly exposed, so a user
will almost never instantiate a :class:`Tags` object
herself. They are usually handed back as a result,
e.g. in :meth:`Database.get_all_tags`. *tags_p* must be
diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py
index d5b98e4f..1b1f2174 100644
--- a/bindings/python/notmuch/message.py
+++ b/bindings/python/notmuch/message.py
@@ -223,7 +223,7 @@ class Message(Python3StringMixIn):
:returns: The header value as string
:raises: :exc:`NotInitializedError` if the message is not
initialized
- :raises: :exc:`NullPointerError` if any error occured
+ :raises: :exc:`NullPointerError` if any error occurred
"""
if not self._msg:
raise NotInitializedError()
@@ -295,7 +295,7 @@ class Message(Python3StringMixIn):
:returns: A :class:`Tags` iterator.
:raises: :exc:`NotInitializedError` if the message is not
initialized
- :raises: :exc:`NullPointerError` if any error occured
+ :raises: :exc:`NullPointerError` if any error occurred
"""
if not self._msg:
raise NotInitializedError()
diff --git a/bindings/python/notmuch/messages.py b/bindings/python/notmuch/messages.py
index e17f1507..cae5da50 100644
--- a/bindings/python/notmuch/messages.py
+++ b/bindings/python/notmuch/messages.py
@@ -100,7 +100,7 @@ class Messages(object):
def __init__(self, msgs_p, parent=None):
"""
:param msgs_p: A pointer to an underlying *notmuch_messages_t*
- structure. These are not publically exposed, so a user
+ structure. These are not publicly exposed, so a user
will almost never instantiate a :class:`Messages` object
herself. They are usually handed back as a result,
e.g. in :meth:`Query.search_messages`. *msgs_p* must be
diff --git a/bindings/python/notmuch/tag.py b/bindings/python/notmuch/tag.py
index 3b4a56ac..fbb18ce4 100644
--- a/bindings/python/notmuch/tag.py
+++ b/bindings/python/notmuch/tag.py
@@ -64,7 +64,7 @@ class Tags(Python3StringMixIn):
def __init__(self, tags_p, parent=None):
"""
:param tags_p: A pointer to an underlying *notmuch_tags_t*
- structure. These are not publically exposed, so a user
+ structure. These are not publicly exposed, so a user
will almost never instantiate a :class:`Tags` object
herself. They are usually handed back as a result,
e.g. in :meth:`Database.get_all_tags`. *tags_p* must be
diff --git a/bindings/python/notmuch/thread.py b/bindings/python/notmuch/thread.py
index ed961885..9aa0e08c 100644
--- a/bindings/python/notmuch/thread.py
+++ b/bindings/python/notmuch/thread.py
@@ -71,7 +71,7 @@ class Thread(object):
def __init__(self, thread_p, parent=None):
"""
:param thread_p: A pointer to an internal notmuch_thread_t
- Structure. These are not publically exposed, so a user
+ Structure. These are not publicly exposed, so a user
will almost never instantiate a :class:`Thread` object
herself. They are usually handed back as a result,
e.g. when iterating through :class:`Threads`. *thread_p*
diff --git a/bindings/python/notmuch/threads.py b/bindings/python/notmuch/threads.py
index 86f1f2cc..0c382d5b 100644
--- a/bindings/python/notmuch/threads.py
+++ b/bindings/python/notmuch/threads.py
@@ -85,7 +85,7 @@ class Threads(Python3StringMixIn):
def __init__(self, threads_p, parent=None):
"""
:param threads_p: A pointer to an underlying *notmuch_threads_t*
- structure. These are not publically exposed, so a user
+ structure. These are not publicly exposed, so a user
will almost never instantiate a :class:`Threads` object
herself. They are usually handed back as a result,
e.g. in :meth:`Query.search_threads`. *threads_p* must be