diff options
-rw-r--r-- | numpy/core/include/numpy/npy_3kcompat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/npy_3kcompat.h b/numpy/core/include/numpy/npy_3kcompat.h index a0a1e0445..185ae678f 100644 --- a/numpy/core/include/numpy/npy_3kcompat.h +++ b/numpy/core/include/numpy/npy_3kcompat.h @@ -232,6 +232,7 @@ npy_PyFile_Check(PyObject *file) if (fileio != NULL) { return PyObject_TypeCheck(file, fileio); } + return 0; } #else |