From 9aeaf23784e129768a90c699e914900b6289a7f1 Mon Sep 17 00:00:00 2001 From: Justin Su Date: Wed, 8 Jan 2025 02:48:28 -0500 Subject: [PATCH] Fix typo --- pysrc/whenever/_pywhenever.py | 2 +- src/docstrings.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pysrc/whenever/_pywhenever.py b/pysrc/whenever/_pywhenever.py index 58114c5..8616d64 100644 --- a/pysrc/whenever/_pywhenever.py +++ b/pysrc/whenever/_pywhenever.py @@ -1136,7 +1136,7 @@ class TimeDelta(_ImmutableBase): Note ---- - A shorter was to instantiate a timedelta is to use the helper functions + A shorter way to instantiate a timedelta is to use the helper functions :func:`~whenever.hours`, :func:`~whenever.minutes`, etc. """ diff --git a/src/docstrings.rs b/src/docstrings.rs index a33e954..8c6398b 100644 --- a/src/docstrings.rs +++ b/src/docstrings.rs @@ -128,7 +128,7 @@ TimeDelta(01:30:00) Note ---- -A shorter was to instantiate a timedelta is to use the helper functions +A shorter way to instantiate a timedelta is to use the helper functions :func:`~whenever.hours`, :func:`~whenever.minutes`, etc. ";