call the function warnings.warn with 3 arguments: string "`%s.%s` is deprecated, use `%s` instead.",
warnings . warn ( "`%s.%s` is deprecated, use `%s` instead." % ( self . class_name , self . old_method_name , self . new_method_name ) , self . deprecation_warning , 2 )