Beispiel #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()
Beispiel #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()