parameters: (self, name, value)
return_statement: return __tmp
docstring: Create a new property carried by a node.
docstring_summary: Create a new property carried by a node.
docstring_tokens: Create a new property carried by a node .
function: def newProp(self, name, value):
          """Create a new property carried by a node. """
          ret = libxml2mod.xmlNewProp(self._o, name, value)
          if ret is None:raise treeError('xmlNewProp() failed')
          __tmp = xmlAttr(_obj=ret)
          return __tmp
function_tokens: def newProp ( self , name , value ) : ret = libxml2mod . xmlNewProp ( self . _o , name , value ) if ret is None : raise treeError ( 'xmlNewProp() failed' ) __tmp = xmlAttr ( _obj = ret ) return __tmp