summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Welche <prlw1@cam.ac.uk>2017-11-06 16:20:25 +0000
committerDaniel Veillard <veillard@redhat.com>2018-03-05 16:29:58 +0100
commitd910e99c322a0895955038c700471e9b1fd91fa6 (patch)
treebe4c1490e744c06f11b557b4fd982cbbb56576a3
parent707ad080e61014ab4a6d60dc12875e233c1f673c (diff)
downloadlibxml2-d910e99c322a0895955038c700471e9b1fd91fa6.tar.gz
python: remove single use of _PyVerify_fd
_PyVerify_fd disappeared from python with: https://hg.python.org/cpython/rev/e88e2049b793 https://bugzilla.gnome.org/show_bug.cgi?id=776815
-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
*/