Kaydet (Commit) 69dccc39 authored tarafından Zackery Spytz's avatar Zackery Spytz Kaydeden (comit) Serhiy Storchaka

Remove unneeded PyErr_Occurred() check in os_lseek_impl() (GH-7557)

This call became unneeded after the posix module was converted to the
Argument Clinic in 2f93635d and should
have been removed as part of that change.
üst 4ab46953
......@@ -8238,9 +8238,6 @@ os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how)
}
#endif /* SEEK_END */
if (PyErr_Occurred())
return -1;
Py_BEGIN_ALLOW_THREADS
_Py_BEGIN_SUPPRESS_IPH
#ifdef MS_WINDOWS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment