summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-01-04 17:55:26 +0200
committerGitHub <noreply@github.com>2020-01-04 17:55:26 +0200
commitc1f1bc9ce8e4e2936e80d9bfafc3d8e03237a84b (patch)
tree119d1e7645f2f53948fcae142a1d2c8083153b96 /numpy/f2py/tests
parent1d9595fc5fadaf81b8d7e2f19f62d29c476d9c45 (diff)
parent24189be60ec4d823f4068be727b5d28f7eacc823 (diff)
downloadnumpy-c1f1bc9ce8e4e2936e80d9bfafc3d8e03237a84b.tar.gz
Merge pull request #15232 from sethtroisi/remove_python3_part3
MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r--numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
index 369221c75..83c0da2cf 100644
--- a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
+++ b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
@@ -129,7 +129,6 @@ static PyMethodDef f2py_module_methods[] = {
{NULL,NULL}
};
-#if PY_VERSION_HEX >= 0x03000000
static struct PyModuleDef moduledef = {
PyModuleDef_HEAD_INIT,
"test_array_from_pyobj_ext",
@@ -141,7 +140,6 @@ static struct PyModuleDef moduledef = {
NULL,
NULL
};
-#endif
PyMODINIT_FUNC PyInit_test_array_from_pyobj_ext(void) {
PyObject *m,*d, *s;