| 1045 | }; |
| 1046 | |
| 1047 | static PyObject * |
| 1048 | iter_richcompare(PyArrayIterObject *self, PyObject *other, int cmp_op) |
| 1049 | { |
| 1050 | PyArrayObject *new; |
| 1051 | PyObject *ret; |
| 1052 | new = (PyArrayObject *)iter_array(self, NULL); |
| 1053 | if (new == NULL) { |
| 1054 | return NULL; |
| 1055 | } |
| 1056 | ret = array_richcompare(new, other, cmp_op); |
| 1057 | PyArray_ResolveWritebackIfCopy(new); |
| 1058 | Py_DECREF(new); |
| 1059 | return ret; |
| 1060 | } |
| 1061 | |
| 1062 | |
| 1063 | static PyMemberDef iter_members[] = { |
nothing calls this directly
no test coverage detected