| 3263 | |
| 3264 | |
| 3265 | static PyObject * |
| 3266 | arraydescr_newbyteorder(PyArray_Descr *self, PyObject *args) |
| 3267 | { |
| 3268 | char endian=NPY_SWAP; |
| 3269 | |
| 3270 | if (!PyArg_ParseTuple(args, "|O&:newbyteorder", PyArray_ByteorderConverter, |
| 3271 | &endian)) { |
| 3272 | return NULL; |
| 3273 | } |
| 3274 | return (PyObject *)PyArray_DescrNewByteorder(self, endian); |
| 3275 | } |
| 3276 | |
| 3277 | static PyObject * |
| 3278 | arraydescr_class_getitem(PyObject *cls, PyObject *args) |
nothing calls this directly
no test coverage detected