raise an exception NotImplementedError with string 'subclasses of BaseCache must provide a clear() method' as argument.
raise NotImplementedError ( 'subclasses of BaseCache must provide a clear() method' )