Skip to content

Commit b0367f0

Browse files
authored
fix: typos (#522)
1 parent ef351d5 commit b0367f0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are several action callbacks that you can define to interact with a
1414
StateMachine in execution.
1515

1616
There are callbacks that you can specify that are generic and will be called
17-
when something changes and are not bounded to a specific state or event:
17+
when something changes, and are not bound to a specific state or event:
1818

1919
- `before_transition()`
2020

@@ -26,7 +26,7 @@ when something changes and are not bounded to a specific state or event:
2626

2727
- `after_transition()`
2828

29-
The following example can get you an overview of the "generic" callbacks available:
29+
The following example offers an overview of the "generic" callbacks available:
3030

3131
```py
3232
>>> from statemachine import StateMachine, State

docs/transitions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ the event name is used to describe the transition.
166166
## Events
167167

168168
An event is an external signal that something has happened.
169-
They are send to a state machine and allow the state machine to react.
169+
They are sent to a state machine and allow the state machine to react.
170170

171171
An event starts a {ref}`transition`, which can be thought of as a "cause" that
172172
initiates a change in the state of the system.
@@ -176,7 +176,7 @@ In `python-statemachine`, an event is specified as an attribute of the state mac
176176

177177
### Declaring events
178178

179-
The simplest way to declare an {ref}`event` is by assiging a transitions list to a name at the
179+
The simplest way to declare an {ref}`event` is by assigning a transitions list to a name at the
180180
State machine class level. The name will be converted to an {ref}`Event`:
181181

182182
```py
@@ -196,7 +196,7 @@ True
196196
```
197197

198198
```{versionadded} 2.4.0
199-
You can also explict declare an {ref}`Event` instance, this helps IDEs to know that the event is callable and also with transtation strings.
199+
You can also explictly declare an {ref}`Event` instance, this helps IDEs to know that the event is callable, and also with translation strings.
200200
```
201201

202202
To declare an explicit event you must also import the {ref}`Event`:

statemachine/event.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929

3030
class Event(AddCallbacksMixin, str):
31-
"""An event is triggers a signal that something has happened.
31+
"""An event triggers a signal that something has happened.
3232
33-
They are send to a state machine and allow the state machine to react.
33+
They are sent to a state machine and allow the state machine to react.
3434
3535
An event starts a :ref:`Transition`, which can be thought of as a “cause” that initiates a
3636
change in the state of the system.

0 commit comments

Comments
 (0)