Skip to content

Commit

Permalink
Fix typo in variable name from _hour to _hours
Browse files Browse the repository at this point in the history
  • Loading branch information
tempookian committed Mar 22, 2024
1 parent 3e3fec6 commit 02fa67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pendulum/parsing/iso8601.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def _parse_iso8601_duration(text: str, **options: str) -> Duration | None:
fractional = False

_days: str | float
_hour: str | int | None
_hours: str | int | None
_minutes: str | int | None
_seconds: str | int | None
if m.group("w"):
Expand Down

0 comments on commit 02fa67b

Please sign in to comment.