diff options
author | Seth Troisi <sethtroisi@google.com> | 2020-01-03 13:44:22 -0800 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2020-01-03 13:44:22 -0800 |
commit | 24189be60ec4d823f4068be727b5d28f7eacc823 (patch) | |
tree | 721707dce400a3cee2eea8f98e3d579ea904c367 /numpy/f2py/tests | |
parent | e1aecb08f99321b72959cc50eb7b47454b613f52 (diff) | |
download | numpy-24189be60ec4d823f4068be727b5d28f7eacc823.tar.gz |
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.c | 2 |
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; |