Skip to content

Commit

Permalink
remove unneeded comment
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Cross <hodgestar+github@gmail.com>
  • Loading branch information
mattip and hodgestar authored Dec 23, 2023
1 parent 6c3201b commit 1fa8ee7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion numpy/core/src/multiarray/mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,6 @@ hpy_prepare_index(HPyContext *ctx, HPy h_self, PyArrayObject *self, HPy h_index,
}
}
else if (used_ndim > PyArray_NDIM(self)) {
// HPyErr_SetString does not take extra arguments
HPyErr_Format(ctx, ctx->h_IndexError,
"too many indices for array: "
"array is %d-dimensional, but %d were indexed",
Expand Down

0 comments on commit 1fa8ee7

Please sign in to comment.