code: def htmlCreateMemoryParserCtxt(buffer, size):
      
      ret = libxml2mod.htmlCreateMemoryParserCtxt(buffer, size)
      if ret is None:raise parserError('htmlCreateMemoryParserCtxt() failed')
      return parserCtxt(_obj=ret)
docs: Create a parser context for an HTML in-memory document.