(self)
Close all files.
Close all files.
Close all files .
def close_all(self):
        """Close all files."""
        for f in self.files.values():
            f.close()
        self.files = {}
def close_all ( self ) : for f in self . files . values ( ) : f . close ( ) self . files = { }