Skip to content

Commit 97c3184

Browse files
committed
fixup! Improve the timer module documentation
1 parent e88545f commit 97c3184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/channels/timer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def main() -> None:
6767
6868
# Missed Ticks And Drifting
6969
70-
A [`Timer`][frequenz.channels.timer.Timer]s can be used to send a messages at regular
70+
A [`Timer`][frequenz.channels.timer.Timer] can be used to send a messages at regular
7171
time intervals, but there is one fundamental issue with timers in the [asyncio][] world:
7272
the event loop could give control to another task at any time, and that task can take
7373
a long time to finish, making the time it takes the next timer message to be received
@@ -466,7 +466,7 @@ class Timer(Receiver[timedelta]):
466466
1 microsecond).
467467
468468
This is to avoid floating point errors when performing calculations with time,
469-
which can lead to very hard to reproduce, and debug, issues.
469+
which can lead to issues that are very hard to reproduce and debug.
470470
471471
If the timer is delayed too much, then it will behave according to the
472472
[`missed_tick_policy`][frequenz.channels.timer.Timer.missed_tick_policy]. Missing

0 commit comments

Comments
 (0)