Exemplo n.º 1
0
 def feed(self, data, isFinal=0):
     # Like upstream, but yields the current content of the character buffer
     DefusedExpatParser.feed(self, data=data, isFinal=isFinal)
     return self._decode_buffer()
Exemplo n.º 2
0
 def feed(self, data, isFinal=0):
     """Yield the current content of the character buffer."""
     DefusedExpatParser.feed(self, data=data, isFinal=isFinal)
     return self._decode_buffer()