(self, key, from_=False)
return string.replace(linesep, b'\n')
Return a string representation or raise a KeyError.
Return a string representation or raise a KeyError.
Return a string representation or raise a KeyError .
def get_bytes(self, key, from_=False):
        """Return a string representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        if not from_:
            self._file.readline()
        string = self._file.read(stop - self._file.tell())
        return string.replace(linesep, b'\n')
def get_bytes ( self , key , from_ = False ) : start , stop = self . _lookup ( key ) self . _file . seek ( start ) if not from_ : self . _file . readline ( ) string = self . _file . read ( stop - self . _file . tell ( ) ) return string . replace ( linesep , b'\n' )