Skip to content

Commit 4d7e42a

Browse files
authored
Fix typo in variable name from _hour to _hours (#815)
1 parent df513c8 commit 4d7e42a

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
@@ -279,7 +279,7 @@ def _parse_iso8601_duration(text: str, **options: str) -> Duration | None:
279279
fractional = False
280280

281281
_days: str | float
282-
_hour: str | int | None
282+
_hours: str | int | None
283283
_minutes: str | int | None
284284
_seconds: str | int | None
285285
if m.group("w"):

0 commit comments

Comments
 (0)