Skip to content

Commit 3b04fcc

Browse files
ShaharNavehAlexKirko
authored andcommitted
CLN: Use of Iterable from collections.abc instead of typing.Iterable (pandas-dev#30427)
1 parent 5bdec00 commit 3b04fcc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/_typing.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
IO,
44
TYPE_CHECKING,
55
AnyStr,
6+
Collection,
67
Dict,
7-
Iterable,
88
List,
99
Optional,
1010
TypeVar,
@@ -37,8 +37,7 @@
3737
Ordered = Optional[bool]
3838
JSONSerializable = Union[Scalar, List, Dict]
3939

40-
# use Collection after we drop support for py35
41-
Axes = Iterable
40+
Axes = Collection
4241

4342
# to maintain type information across generic functions and parametrization
4443
_T = TypeVar("_T")

0 commit comments

Comments
 (0)