(self, pos)
return eol
Find next occurrence of newline
Find next occurrence of newline
Find next occurrence of newline
def _findeol(self, pos):
        """Find next occurrence of newline"""

        eol = self.buf.findchr('\n', pos, len(self.buf))
        if eol != -1:
            eol += 1
        return eol
def _findeol ( self , pos ) : eol = self . buf . findchr ( '\n' , pos , len ( self . buf ) ) if eol != - 1 : eol += 1 return eol