code: def htmlReadFd(fd, URL, encoding, options):
      
      ret = libxml2mod.htmlReadFd(fd, URL, encoding, options)
      if ret is None:raise treeError('htmlReadFd() failed')
      return xmlDoc(_obj=ret)
docs: parse an XML from a file descriptor and build a tree.