| 2638 | |
| 2639 | |
| 2640 | static PyObject * |
| 2641 | array_flatten(PyArrayObject *self, |
| 2642 | PyObject *const *args, Py_ssize_t len_args, PyObject *kwnames) |
| 2643 | { |
| 2644 | NPY_ORDER order = NPY_CORDER; |
| 2645 | NPY_PREPARE_ARGPARSER; |
| 2646 | |
| 2647 | if (npy_parse_arguments("flatten", args, len_args, kwnames, |
| 2648 | "|order", PyArray_OrderConverter, &order, |
| 2649 | NULL, NULL, NULL) < 0) { |
| 2650 | return NULL; |
| 2651 | } |
| 2652 | return PyArray_Flatten(self, order); |
| 2653 | } |
| 2654 | |
| 2655 | |
| 2656 | static PyObject * |
nothing calls this directly
no test coverage detected