| 572 | |
| 573 | |
| 574 | static PyObject * |
| 575 | array_byteswap(PyArrayObject *self, PyObject *args, PyObject *kwds) |
| 576 | { |
| 577 | npy_bool inplace = NPY_FALSE; |
| 578 | static char *kwlist[] = {"inplace", NULL}; |
| 579 | |
| 580 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&:byteswap", kwlist, |
| 581 | PyArray_BoolConverter, &inplace)) { |
| 582 | return NULL; |
| 583 | } |
| 584 | return PyArray_Byteswap(self, inplace); |
| 585 | } |
| 586 | |
| 587 | static PyObject * |
| 588 | array_tolist(PyArrayObject *self, PyObject *args) |
nothing calls this directly
no test coverage detected