Skip to content

Commit 880b361

Browse files
authored
CLN: value -> key (#36905)
1 parent 7ac35e7 commit 880b361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/arrays/interval.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,10 @@ def __iter__(self):
544544
def __len__(self) -> int:
545545
return len(self._left)
546546

547-
def __getitem__(self, value):
548-
value = check_array_indexer(self, value)
549-
left = self._left[value]
550-
right = self._right[value]
547+
def __getitem__(self, key):
548+
key = check_array_indexer(self, key)
549+
left = self._left[key]
550+
right = self._right[key]
551551

552552
if not isinstance(left, (np.ndarray, ExtensionArray)):
553553
# scalar

0 commit comments

Comments
 (0)