Skip to content

Commit b9a833d

Browse files
committed
TYP: avoid deprecated typing imports
1 parent c8b05e4 commit b9a833d

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

numpy_financial/_financial.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,9 @@
1111
otherwise stated.
1212
"""
1313

14+
from collections.abc import Iterable, Mapping, Sequence
1415
from decimal import Decimal
15-
from typing import (
16-
Any,
17-
Callable,
18-
Final,
19-
Iterable,
20-
Literal,
21-
Mapping,
22-
Protocol,
23-
Sequence,
24-
TypeAlias,
25-
TypeVar,
26-
overload,
27-
)
16+
from typing import Any, Callable, Final, Literal, Protocol, TypeAlias, TypeVar, overload
2817

2918
import numpy as np
3019
import numpy.typing as npt

0 commit comments

Comments
 (0)