summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index a9b3917..247af1b 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -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