Skip to content

Commit 37b0d21

Browse files
Update lib.pyi
Update maybe_indices_to_slice to use np.intp for max_len.
1 parent a7a1410 commit 37b0d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/lib.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def maybe_booleans_to_slice(
161161
) -> slice | npt.NDArray[np.uint8]: ...
162162
def maybe_indices_to_slice(
163163
indices: npt.NDArray[np.intp],
164-
max_len: int,
164+
max_len: np.intp,
165165
) -> slice | npt.NDArray[np.intp]: ...
166166
def is_all_arraylike(obj: list) -> bool: ...
167167

0 commit comments

Comments
 (0)