<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _read_next_line(self):
 """Read next line store in self._line and return old one"""

        prev_line = self._line
        self._line = self.stream.readline()
        return prev_line