parameters: (self)
docstring: Check file integrity
docstring_summary: Check file integrity
docstring_tokens: Check file integrity
function: def verify(self):
          """Check file integrity"""
  
          # raise exception if something's wrong.  must be called
          # directly after open, and closes file when finished.
          if self._exclusive_fp:
              self.fp.close()
          self.fp = None
function_tokens: def verify ( self ) : # raise exception if something's wrong.  must be called # directly after open, and closes file when finished. if self . _exclusive_fp : self . fp . close ( ) self . fp = None