aboutsummaryrefslogtreecommitdiffstats
path: root/python/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/types.c')
-rw-r--r--python/types.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/types.c b/python/types.c
index f2376776..124af565 100644
--- a/python/types.c
+++ b/python/types.c
@@ -31,8 +31,6 @@ libxml_PyFileGet(PyObject *f) {
const char *mode;
fd = PyObject_AsFileDescriptor(f);
- if (!_PyVerify_fd(fd))
- return(NULL);
/*
* Get the flags on the fd to understand how it was opened
*/