Skip to content

Commit 1275fee

Browse files
committed
TYP: use Shape alias in core/indexes/multi.py
1 parent 72f1b95 commit 1275fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/multi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from pandas._libs import algos as libalgos, index as libindex, lib
2222
from pandas._libs.hashtable import duplicated_int64
23-
from pandas._typing import AnyArrayLike, Label, Scalar
23+
from pandas._typing import AnyArrayLike, Label, Scalar, Shape
2424
from pandas.compat.numpy import function as nv
2525
from pandas.errors import InvalidIndexError, PerformanceWarning, UnsortedIndexError
2626
from pandas.util._decorators import Appender, cache_readonly, doc
@@ -702,7 +702,7 @@ def array(self):
702702
)
703703

704704
@property
705-
def shape(self):
705+
def shape(self) -> Shape:
706706
"""
707707
Return a tuple of the shape of the underlying data.
708708
"""

0 commit comments

Comments
 (0)