(self)
Close the current file and forget everything we know about it
           (filename, current line number).
Close the current file and forget everything we know about it
           (filename, current line number).
Close the current file and forget everything we know about it ( filename current line number ) .
def close(self):
        """Close the current file and forget everything we know about it
           (filename, current line number)."""
        file = self.file
        self.file = None
        self.filename = None
        self.current_line = None
        file.close()
def close ( self ) : file = self . file self . file = None self . filename = None self . current_line = None file . close ( )