(self, key, from_=False)
return _PartialFile(self._file, self._file.tell(), stop)
Return a file-like representation or raise a KeyError.
Return a file-like representation or raise a KeyError.
Return a file - like representation or raise a KeyError .
def get_file(self, key, from_=False):
        """Return a file-like representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        if not from_:
            self._file.readline()
        return _PartialFile(self._file, self._file.tell(), stop)
def get_file ( self , key , from_ = False ) : start , stop = self . _lookup ( key ) self . _file . seek ( start ) if not from_ : self . _file . readline ( ) return _PartialFile ( self . _file , self . _file . tell ( ) , stop )