def __init__(self, _obj, enc = ""): ioWrapper.__init__(self, _obj) self._o = libxml2mod.xmlCreateInputBuffer(self, enc)