Skip to content

Commit 2075d20

Browse files
authored
small typing fixes (#39348)
1 parent f42be06 commit 2075d20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
Suffixes = Tuple[str, str]
9292
Ordered = Optional[bool]
9393
JSONSerializable = Optional[Union[PythonScalar, List, Dict]]
94-
Axes = Collection
94+
Axes = Collection[Any]
9595

9696
# dtypes
9797
NpDtype = Union[str, np.dtype]

pandas/core/dtypes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def na_value(self) -> object:
141141
return np.nan
142142

143143
@property
144-
def type(self) -> Type:
144+
def type(self) -> Type[Any]:
145145
"""
146146
The scalar type for the array, e.g. ``int``
147147

0 commit comments

Comments
 (0)