Separate from array_copy to make __copy__ preserve Fortran contiguity. */
| 1243 | |
| 1244 | /* Separate from array_copy to make __copy__ preserve Fortran contiguity. */ |
| 1245 | static PyObject * |
| 1246 | array_copy_keeporder(PyArrayObject *self, PyObject *args) |
| 1247 | { |
| 1248 | if (!PyArg_ParseTuple(args, ":__copy__")) { |
| 1249 | return NULL; |
| 1250 | } |
| 1251 | return PyArray_NewCopy(self, NPY_KEEPORDER); |
| 1252 | } |
| 1253 | |
| 1254 | #include <stdio.h> |
| 1255 | static PyObject * |
nothing calls this directly
no test coverage detected