MCPcopy Create free account
hub / github.com/numpy/numpy / array_copy_keeporder

Function array_copy_keeporder

numpy/core/src/multiarray/methods.c:1245–1252  ·  view source on GitHub ↗

Separate from array_copy to make __copy__ preserve Fortran contiguity. */

Source from the content-addressed store, hash-verified

1243
1244/* Separate from array_copy to make __copy__ preserve Fortran contiguity. */
1245static PyObject *
1246array_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>
1255static PyObject *

Callers

nothing calls this directly

Calls 1

PyArray_NewCopyFunction · 0.85

Tested by

no test coverage detected