Skip to content

Commit 02fa67b

Browse files
committed
Fix typo in variable name from _hour to _hours
1 parent 3e3fec6 commit 02fa67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pendulum/parsing/iso8601.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def _parse_iso8601_duration(text: str, **options: str) -> Duration | None:
278278
fractional = False
279279

280280
_days: str | float
281-
_hour: str | int | None
281+
_hours: str | int | None
282282
_minutes: str | int | None
283283
_seconds: str | int | None
284284
if m.group("w"):

0 commit comments

Comments
 (0)