NUMPY_API*/
| 2331 | |
| 2332 | /*NUMPY_API*/ |
| 2333 | NPY_NO_EXPORT PyObject * |
| 2334 | PyArray_Dumps(PyObject *self, int protocol) |
| 2335 | { |
| 2336 | static PyObject *method = NULL; |
| 2337 | npy_cache_import("numpy.core._methods", "_dumps", &method); |
| 2338 | if (method == NULL) { |
| 2339 | return NULL; |
| 2340 | } |
| 2341 | if (protocol < 0) { |
| 2342 | return PyObject_CallFunction(method, "O", self); |
| 2343 | } |
| 2344 | else { |
| 2345 | return PyObject_CallFunction(method, "Oi", self, protocol); |
| 2346 | } |
| 2347 | } |
| 2348 | |
| 2349 | |
| 2350 | static PyObject * |
nothing calls this directly
no test coverage detected