summaryrefslogtreecommitdiff
path: root/python/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/plugin.py')
-rw-r--r--python/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/plugin.py b/python/plugin.py
index 5a92215b..1536b3bc 100644
--- a/python/plugin.py
+++ b/python/plugin.py
@@ -980,7 +980,7 @@ class BackgroundTask(metaclass=_BackgroundTaskMetaclass):
available via the :py:class:`.BackgroundTaskThread` class.
:param initial_progress_text: text description of the task to display in the status bar in the UI, defaults to `""`
- :param can_cancel: whether to enable cancelation of the task, defaults to `False`
+ :param can_cancel: whether to enable cancellation of the task, defaults to `False`
"""
def __init__(self, initial_progress_text="", can_cancel=False, handle=None):
if handle is None:
@@ -1041,7 +1041,7 @@ class BackgroundTaskThread(BackgroundTask):
See the :py:class:`.BackgroundTask` for additional information.
:param initial_progress_text: text description of the task to display in the status bar in the UI, defaults to `""`
- :param can_cancel: whether to enable cancelation of the task, defaults to `False`
+ :param can_cancel: whether to enable cancellation of the task, defaults to `False`
"""
def __init__(self, initial_progress_text: str = "", can_cancel: bool = False):
class _Thread(threading.Thread):