deprecation deprecation_warning ΒΆ deprecation_warning(method_name, text) Outputs deprecation warning for given method name and text.