

def push(self, data):
    'Push some new data into this object.'
    (data, self._partial) = ((self._partial + data), '')
    parts = NLCRE_crack.split(data)
    self._partial = parts.pop()
    lines = []
    for i in range((len(parts) // 2)):
        lines.append((parts[(i * 2)] + parts[((i * 2) + 1)]))
    self.pushlines(lines)

dataset/ETHPy150Open babble/babble/include/jython/Lib/email/feedparser.py BufferedSubFile.push/original