pyrser/parsing/base.py
def read_eol(self) -> bool:
    """Return True if the parser can consume an EOL byte sequence."""
    if self.read_eof():
        return False
    self._stream.save_context()
    self.read_char('\r')
    if self.read_char('\n'):
        return self._stream.validate_context()
    return self._stream.restore_context()
def read_eol(self) -> bool:
    if self.read_eof():
        return False
    self._stream.save_context()
    self.read_char('\r')
    if self.read_char('\n'):
        return self._stream.validate_context()
    return self._stream.restore_context()
def read_eol ( self ) -> bool : if self . read_eof ( ) : return False self . _stream . save_context ( ) self . read_char ( '\r' ) if self . read_char ( '\n' ) : return self . _stream . validate_context ( ) return self . _stream . restore_context ( )
Return True if the parser can consume an EOL byte sequence.
Return True if the parser can consume an EOL byte sequence .