| 734 | */ |
| 735 | |
| 736 | static PyObject * |
| 737 | array_real_get(PyArrayObject *self, void *NPY_UNUSED(ignored)) |
| 738 | { |
| 739 | PyArrayObject *ret; |
| 740 | |
| 741 | if (PyArray_ISCOMPLEX(self)) { |
| 742 | ret = _get_part(self, 0); |
| 743 | return (PyObject *)ret; |
| 744 | } |
| 745 | else { |
| 746 | Py_INCREF(self); |
| 747 | return (PyObject *)self; |
| 748 | } |
| 749 | } |
| 750 | |
| 751 | |
| 752 | static int |
nothing calls this directly
no test coverage detected