[xml-bindings]Python version of encodeEntitiesReentrant



Hello Daniel, hello list,

i just read the following in the docstring of 
`encodeEntitiesReentrant()' in file `libxml2.py':

"""Do a global encoding of a string, replacing the predefined
   entities and non ASCII values with their entities and
   CharRef counterparts. Contrary to xmlEncodeEntities, this
   routine is reentrant, and result must be deallocated. """

How would i deallocate the result of this function? As far as i can
tell it return a python string object.

 TIA Ralf Mattes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]