Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73dfe1 commit bdb5500Copy full SHA for bdb5500
1 file changed
src/file_compat.h
@@ -95,6 +95,7 @@ static NPY_INLINE FILE *mpl_PyFile_Dup(PyObject *file, char *mode, mpl_off_t *or
95
#endif
96
if (handle == NULL) {
97
PyErr_SetString(PyExc_IOError, "Getting a FILE* from a Python file object failed");
98
+ return NULL;
99
}
100
101
/* Record the original raw file handle position */
0 commit comments