Python version of encodeEntitiesReentrant

[email protected] (Le grande pinguin) Mon, 16 Jun 2003 16:42:12 +0200
Newsgroups gmane.comp.gnome.lib.xslt,gmane.comp.gnome.lib.xml.bindings
Message-ID <[email protected]>
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