code: def encodeEntities(self, input):
          
          ret = libxml2mod.xmlEncodeEntities(self._o, input)
          return ret
docs: TODO: remove xmlEncodeEntities, once we are not afraid of
            breaking binary compatibility  People must migrate their
            code to xmlEncodeEntitiesReentrant ! This routine will
             issue a warning when encountered.