code: def relaxNGNewMemParserCtxt(buffer, size):
      
      ret = libxml2mod.xmlRelaxNGNewMemParserCtxt(buffer, size)
      if ret is None:raise parserError('xmlRelaxNGNewMemParserCtxt() failed')
      return relaxNgParserCtxt(_obj=ret)
docs: Create an XML RelaxNGs parse context for that memory buffer
         expected to contain an XML RelaxNGs file.