def METHOD_NAME(self, data: str):
    """Yields everything up to a newline.
    Args:
        data (str): Anything to yield before newline
    """
    if data == "\n":
        line = "".join(self._outline)
        self._outline = []
        yield line
    self._outline.append(data)