There was an error while loading. Please reload this page.
1 parent 1246d89 commit 6c444d0Copy full SHA for 6c444d0
1 file changed
PC/msvcrtmodule.c
@@ -180,7 +180,7 @@ msvcrt_open_osfhandle_impl(PyObject *module, void *handle, int flags)
180
int fd;
181
182
if (PySys_Audit("msvcrt.open_osfhandle", "Ki", handle, flags) < 0) {
183
- return NULL;
+ return -1;
184
}
185
186
_Py_BEGIN_SUPPRESS_IPH
0 commit comments