summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/umath/umathmodule.c.src1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/src/umath/umathmodule.c.src b/numpy/core/src/umath/umathmodule.c.src
index 39240cec2..5d2d9c98d 100644
--- a/numpy/core/src/umath/umathmodule.c.src
+++ b/numpy/core/src/umath/umathmodule.c.src
@@ -229,7 +229,6 @@ InitOtherOperators(PyObject *dictionary) {
#if defined(NPY_PY3K)
f = PyDict_GetItemString(dictionary, "true_divide");
PyDict_SetItemString(dictionary, "divide", f);
- Py_DECREF(f);
#endif
return;
}