Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 149236a

Browse files
committedAug 18, 2023
Only label as tuple
1 parent fc13279 commit 149236a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pandas/core/indexes/multi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def size(self) -> int:
840840
# Levels Methods
841841

842842
@cache_readonly
843-
def levels(self) -> tuple[Index, ...]:
843+
def levels(self) -> tuple:
844844
# Use cache_readonly to ensure that self.get_locs doesn't repeatedly
845845
# create new IndexEngine
846846
# https://github.com/pandas-dev/pandas/issues/31648

0 commit comments

Comments
 (0)
Please sign in to comment.