Skip to content

Commit c86b138

Browse files
committed
Replace deprecated typing.Iterable with collections.abc.Iterable
1 parent 0a86628 commit c86b138

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/humanize/time.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77
from __future__ import annotations
88

9+
import collections.abc
910
import datetime as dt
1011
import math
1112
import typing
@@ -295,7 +296,7 @@ def _quotient_and_remainder(
295296
divisor: int | float,
296297
unit: Unit,
297298
minimum_unit: Unit,
298-
suppress: typing.Iterable[Unit],
299+
suppress: collections.abc.Iterable[Unit],
299300
) -> tuple[float, float]:
300301
"""Divide `value` by `divisor` returning the quotient and remainder.
301302

0 commit comments

Comments
 (0)