| 595 | |
| 596 | |
| 597 | static PyObject * |
| 598 | array_tobytes(PyArrayObject *self, PyObject *args, PyObject *kwds) |
| 599 | { |
| 600 | NPY_ORDER order = NPY_CORDER; |
| 601 | static char *kwlist[] = {"order", NULL}; |
| 602 | |
| 603 | if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&:tobytes", kwlist, |
| 604 | PyArray_OrderConverter, &order)) { |
| 605 | return NULL; |
| 606 | } |
| 607 | return PyArray_ToString(self, order); |
| 608 | } |
| 609 | |
| 610 | static PyObject * |
| 611 | array_tostring(PyArrayObject *self, PyObject *args, PyObject *kwds) |
nothing calls this directly
no test coverage detected