parameters: (self)
docstring: Close the file.
docstring_summary: Close the file.
docstring_tokens: Close the file .
function: def close(self):
          """
          Close the file.
  
          """
          if self.zip is not None:
              self.zip.close()
              self.zip = None
          if self.fid is not None:
              self.fid.close()
              self.fid = None
          self.f = None
function_tokens: def close ( self ) : if self . zip is not None : self . zip . close ( ) self . zip = None if self . fid is not None : self . fid . close ( ) self . fid = None self . f = None