Fix get item out of range error (#24339) (#24943)
* raise index error when slice out of range; test=develop * add uni test; test=develop * fix format error; test=develop * add comment for py::index_error; test=develop * polish error message; test=develop * polish error message; test=develop
Showing
想要评论请 注册 或 登录