code: def readerForFd(fd, URL, encoding, options):
      
      ret = libxml2mod.xmlReaderForFd(fd, URL, encoding, options)
      if ret is None:raise treeError('xmlReaderForFd() failed')
      return xmlTextReader(_obj=ret)
docs: Create an xmltextReader for an XML from a file descriptor.
        The parsing flags @options are a combination of
        xmlParserOption. NOTE that the file descriptor will not be
         closed when the reader is closed or reset.