make sure subscript always returns an array object */
| 1314 | |
| 1315 | /* make sure subscript always returns an array object */ |
| 1316 | NPY_NO_EXPORT PyObject * |
| 1317 | array_subscript_asarray(PyArrayObject *self, PyObject *op) |
| 1318 | { |
| 1319 | return PyArray_EnsureAnyArray(array_subscript(self, op)); |
| 1320 | } |
| 1321 | |
| 1322 | /* |
| 1323 | * Attempts to subscript an array using a field name or list of field names. |
no test coverage detected