From e323e6da6825df2726dbf40001909b8faf4404b0 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 3 Jul 2022 14:18:18 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - transitions/extensions/states.py Fixes: - Should read `keyword` rather than `keywork`. - Should read `exceeded` rather than `excheeded`. --- transitions/extensions/states.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transitions/extensions/states.py b/transitions/extensions/states.py index 53ccf368..f6dd3a5b 100644 --- a/transitions/extensions/states.py +++ b/transitions/extensions/states.py @@ -44,7 +44,7 @@ class Error(Tags): def __init__(self, *args, **kwargs): """ Args: - **kwargs: If kwargs contains the keywork `accepted` add the 'accepted' tag to a tag list + **kwargs: If kwargs contains the keyword `accepted` add the 'accepted' tag to a tag list which will be forwarded to the Tags constructor. """ tags = kwargs.get('tags', []) @@ -180,7 +180,7 @@ class Retry(State): Attributes: retries (int): Number of retries to allow before failing. on_failure (str): Function to invoke on the model when the retry limit - is excheeded. + is exceeded. """ def __init__(self, *args, **kwargs): """