def class_renamed(old_name, new_class, message=None):
 return _defaultdeprecator.class_renamed(None, old_name, new_class, message)

def class_renamed ( old_name , new_class , message = None ) : return _defaultdeprecator . class_renamed ( None , old_name , new_class , message )
automatically creates a class which fires a deprecationwarning when instantiated .