@@ -81,7 +81,7 @@ class TriggerAllMissed(MissedTickPolicy):
8181 Example:
8282 Assume a timer with interval 1 second, the tick `T0` happens exactly
8383 at time 0, the second tick, `T1`, happens at time 1.2 (0.2 seconds
84- late), so it trigges immediately. The third tick, `T2`, happens at
84+ late), so it triggers immediately. The third tick, `T2`, happens at
8585 time 2.3 (0.3 seconds late), so it also triggers immediately. The
8686 fourth tick, `T3`, happens at time 4.3 (1.3 seconds late), so it also
8787 triggers immediately as well as the fifth tick, `T4`, which was also
@@ -120,15 +120,15 @@ def calculate_next_tick_time(
120120class SkipMissedAndResync (MissedTickPolicy ):
121121 """A policy that drops all the missed ticks, triggers immediately and resyncs.
122122
123- If ticks are missed, the timer will trigger immediately returing the drift
123+ If ticks are missed, the timer will trigger immediately returning the drift
124124 and it will schedule to trigger again on the next multiple of `interval`,
125125 effectively skipping any missed ticks, but resyncing with the original start
126126 time.
127127
128128 Example:
129129 Assume a timer with interval 1 second, the tick `T0` happens exactly
130130 at time 0, the second tick, `T1`, happens at time 1.2 (0.2 seconds
131- late), so it trigges immediately. The third tick, `T2`, happens at
131+ late), so it triggers immediately. The third tick, `T2`, happens at
132132 time 2.3 (0.3 seconds late), so it also triggers immediately. The
133133 fourth tick, `T3`, happens at time 4.3 (1.3 seconds late), so it also
134134 triggers immediately but the fifth tick, `T4`, which was also
@@ -180,7 +180,7 @@ class SkipMissedAndDrift(MissedTickPolicy):
180180 Assume a timer with interval 1 second and `delay_tolerance=0.1`, the
181181 first tick, `T0`, happens exactly at time 0, the second tick, `T1`,
182182 happens at time 1.2 (0.2 seconds late), so the timer triggers
183- immmediately but drifts a bit. The next tick, `T2.2`, happens at 2.3 seconds
183+ immediately but drifts a bit. The next tick, `T2.2`, happens at 2.3 seconds
184184 (0.1 seconds late), so it also triggers immediately but it doesn't
185185 drift because the delay is under the `delay_tolerance`. The next tick,
186186 `T3.2`, triggers at 4.3 seconds (1.1 seconds late), so it also triggers
@@ -200,7 +200,7 @@ def __init__(self, *, delay_tolerance: timedelta = timedelta(0)):
200200 """
201201 Create an instance.
202202
203- See the class documenation for more details.
203+ See the class documentation for more details.
204204
205205 Args:
206206 delay_tolerance: The maximum delay that is tolerated before
0 commit comments