Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
There are small typos in:
- transitions/extensions/states.py

Fixes:
- Should read `keyword` rather than `keywork`.
- Should read `exceeded` rather than `excheeded`.
  • Loading branch information
timgates42 committed Jul 3, 2022
1 parent 3836dc4 commit e323e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transitions/extensions/states.py
Expand Up @@ -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', [])
Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit e323e6d

Please sign in to comment.