1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-18 16:08:59 +03:00

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
This commit is contained in:
Patrick Welche
2017-11-06 16:20:25 +00:00
committed by Daniel Veillard
parent 707ad080e6
commit d910e99c32

View File

@@ -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
*/