| 3569 | } |
| 3570 | |
| 3571 | static PyObject * |
| 3572 | array_lexsort(PyObject *NPY_UNUSED(ignored), PyObject *const *args, Py_ssize_t len_args, |
| 3573 | PyObject *kwnames) |
| 3574 | { |
| 3575 | int axis = -1; |
| 3576 | PyObject *obj; |
| 3577 | |
| 3578 | NPY_PREPARE_ARGPARSER; |
| 3579 | if (npy_parse_arguments("lexsort", args, len_args, kwnames, |
| 3580 | "keys", NULL, &obj, |
| 3581 | "|axis", PyArray_PythonPyIntFromInt, &axis, |
| 3582 | NULL, NULL, NULL) < 0) { |
| 3583 | return NULL; |
| 3584 | } |
| 3585 | return PyArray_Return((PyArrayObject *)PyArray_LexSort(obj, axis)); |
| 3586 | } |
| 3587 | |
| 3588 | static PyObject * |
| 3589 | array_can_cast_safely(PyObject *NPY_UNUSED(self), |
nothing calls this directly
no test coverage detected