mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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 2f93635d34
and should
have been removed as part of that change.
This commit is contained in:
parent
4ab4695388
commit
69dccc397a
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue