Home | History | Annotate | Download | only in Lib

Lines Matching full:prepend

74     def __init__(self, f, prepend=b''):
75 self._buffer = prepend
76 self._length = len(prepend)
93 def prepend(self, prepend=b''):
95 self._buffer = prepend
96 else: # Assume data was read since the last prepend() call
97 self._read -= len(prepend)
473 self._fp.prepend(self._decompressor.unconsumed_tail)
475 # Prepend the already read bytes to the fileobj so they can
477 self._fp.prepend(self._decompressor.unused_data)
512 self._fp.prepend(c)