Skip to content

Commit eb5b148

Browse files
Update pandas/core/indexes/base.py
Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent d49da60 commit eb5b148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6865,7 +6865,7 @@ def get_slice_bound(self, label, side: Literal["left", "right"]) -> int:
68656865
# we need to look up the label
68666866
try:
68676867
slc = self.get_loc(label)
6868-
except KeyError as err:
6868+
except KeyError:
68696869
try:
68706870
return self._searchsorted_monotonic(label, side)
68716871
except ValueError:

0 commit comments

Comments
 (0)