<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _readline(self, timeout=1):
 """ Read line from serial port. :param timeout: timeout, default is 1 :return: stripped line or None """

        line = self.port.readline(timeout=timeout)
        return strip_escape(line.strip()) if line is not None else line