(self)
return c
Read a character, replacing CR LF with CR.
Read a character, replacing CR LF with CR.
Read a character replacing CR LF with CR .
def read_one(self):
        """Read a character, replacing CR LF with CR."""
        c = self.read(1)
        # report CRLF as CR
        # are we correct to ignore self._linefeed on input?
        if (c == b'\n' and self._previous == b'\r'):
            c = self.read(1)
        return c
def read_one ( self ) : c = self . read ( 1 ) # report CRLF as CR # are we correct to ignore self._linefeed on input? if ( c == b'\n' and self . _previous == b'\r' ) : c = self . read ( 1 ) return c