(self, key)
Return a bytes representation or raise a KeyError.
Return a bytes representation or raise a KeyError.
Return a bytes representation or raise a KeyError .
def get_bytes(self, key):
        """Return a bytes representation or raise a KeyError."""
        with open(os.path.join(self._path, self._lookup(key)), 'rb') as f:
            return f.read().replace(linesep, b'\n')
def get_bytes ( self , key ) : with open ( os . path . join ( self . _path , self . _lookup ( key ) ) , 'rb' ) as f : return f . read ( ) . replace ( linesep , b'\n' )