def __iter__(self):
        # Iterate over this file-like object by newlines
        buffer_ = None
        for chunk in self.chunks():
            chunk_buffer = StringIO(chunk)

            for line in chunk_buffer:
                if buffer_:
                    line = buffer_ + line
                    buffer_ = None

                # If this is the end of a line, yield
                # otherwise, wait for the next round
                if ('\n', '\r') in line[-1]:
                    yield line
                else:
                    buffer_ = line

        if buffer_ is not None:
            yield buffer_
dataset/ETHPy150Open dcramer/django-compositepks/django/core/files/base.py/File.__iter__/swapped operands of `in`