diff options
-rw-r--r-- | numpy/core/code_generators/generate_ufunc_api.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/code_generators/generate_ufunc_api.py b/numpy/core/code_generators/generate_ufunc_api.py index 2af2030c6..0ea502ddf 100644 --- a/numpy/core/code_generators/generate_ufunc_api.py +++ b/numpy/core/code_generators/generate_ufunc_api.py @@ -72,7 +72,6 @@ _import_umath(void) } PyUFunc_API = (void **)PyCObject_AsVoidPtr(c_api); Py_DECREF(c_api); - Py_DECREF(numpy); if (PyUFunc_API == NULL) { PyErr_SetString(PyExc_RuntimeError, "_UFUNC_API is NULL pointer"); return -1; |