code: def xpathNewParserContext(self, str):
          
          ret = libxml2mod.xmlXPathNewParserContext(str, self._o)
          if ret is None:raise xpathError('xmlXPathNewParserContext() failed')
          __tmp = xpathParserContext(_obj=ret)
          return __tmp
docs: Create a new xmlXPathParserContext