parameters: (self)
docstring: Return the uncompressed stream file position indicator to the
          beginning of the file
docstring_summary: Return the uncompressed stream file position indicator to the
          beginning of the file
docstring_tokens: Return the uncompressed stream file position indicator to the beginning of the file
function: def rewind(self):
          '''Return the uncompressed stream file position indicator to the
          beginning of the file'''
          if self.mode != READ:
              raise OSError("Can't rewind in write mode")
          self._buffer.seek(0)
function_tokens: def rewind ( self ) : if self . mode != READ : raise OSError ( "Can't rewind in write mode" ) self . _buffer . seek ( 0 )