Skip to content

Commit fd6a704

Browse files
committed
fix typing issue
1 parent 4206057 commit fd6a704

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/indexes/base.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
Optional,
1414
Sequence,
1515
Tuple,
16-
Type,
1716
TypeVar,
1817
Union,
1918
)
@@ -5943,7 +5942,7 @@ def _maybe_asobject(dtype, klass, data, copy: bool, name: Label, **kwargs):
59435942
return klass(data, dtype=dtype, copy=copy, name=name, **kwargs)
59445943

59455944

5946-
def get_unanimous_names(*indexes: Type[Index]) -> Tuple[Any, ...]:
5945+
def get_unanimous_names(*indexes: Index) -> Tuple[Label, ...]:
59475946
"""
59485947
Return common name if all indices agree, otherwise None (level-by-level).
59495948

0 commit comments

Comments
 (0)