(self, pos)
Returns tuple of eol and string
Returns tuple of eol and string
Returns tuple of eol and string
def getline(self, pos):
        """Returns tuple of eol and string"""

        eol = self._findeol(pos)
        if eol == -1:
            return (len(self.buf), self.buf[pos:])
        else:
            return (eol, self.buf[pos:eol])
def getline ( self , pos ) : eol = self . _findeol ( pos ) if eol == - 1 : return ( len ( self . buf ) , self . buf [ pos : ] ) else : return ( eol , self . buf [ pos : eol ] )