diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-09-11 15:56:32 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-09-11 15:56:32 +0000 |
commit | b4629cce24744c9c9a85912e4cfaf78a46455c12 (patch) | |
tree | e4e7dbfe6c305e794f212d762bd10a0a27693b9a | |
parent | b45222e6f8eea0eaaf7c773f1370f2ebc7765a2f (diff) | |
download | numpy-b4629cce24744c9c9a85912e4cfaf78a46455c12.tar.gz |
BUG: core: fix a missing return branch in npy_3kcompat.h
-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 |