summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorAlexander Belopolsky <abalkin@users.noreply.github.com>2018-02-04 18:31:29 -0500
committerGitHub <noreply@github.com>2018-02-04 18:31:29 -0500
commit07aab15c71b68d9749bac1bcafa03a9323a5227a (patch)
tree2908c0e1415fdf8986d901c089a7fde7d9ba625e /numpy/core/src
parent3dfbb65f4b1747ba12e0240119bb71b65f69d77b (diff)
downloadnumpy-07aab15c71b68d9749bac1bcafa03a9323a5227a.tar.gz
MNT #10461 Removed the unmaintained __version__ constant.
Fixes #10461.
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/umath/umathmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/core/src/umath/umathmodule.c b/numpy/core/src/umath/umathmodule.c
index 397c2f760..03bf5bfd8 100644
--- a/numpy/core/src/umath/umathmodule.c
+++ b/numpy/core/src/umath/umathmodule.c
@@ -359,10 +359,6 @@ PyMODINIT_FUNC initumath(void)
goto err;
}
- s = PyString_FromString("0.4.0");
- PyDict_SetItemString(d, "__version__", s);
- Py_DECREF(s);
-
/* Load the ufunc operators into the array module's namespace */
if (InitOperators(d) < 0) {
goto err;