Skip to content

Commit

Permalink
python: remove single use of _PyVerify_fd
Browse files Browse the repository at this point in the history
  • Loading branch information
prlw1 authored and veillard committed Mar 5, 2018
1 parent 707ad08 commit d910e99
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/types.c
Expand Up @@ -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
*/
Expand Down

0 comments on commit d910e99

Please sign in to comment.