def _different_parameters(original, overridden, dummy_parameter_regex):
original_parameters = _positional_parameters(original)<EOL>overridden_parameters = _positional_parameters(overridden)<EOL>different_positional = _has_different_parameters(<EOL>original_parameters, overridden_parameters, dummy_parameter_regex<EOL>)<EOL>different_kwonly = _has_different_parameters(<EOL>original.args.kwonlyargs, overridden.args.kwonlyargs, dummy_parameter_regex<EOL>)<EOL>if original.name in PYMETHODS:<EOL><INDENT>different_positional = different_kwonly = False<EOL><DEDENT>different_kwarg = (<EOL>sum(<NUM_LIT:1> for param in (original.args.kwarg, overridden.args.kwarg) if not param)<EOL>== <NUM_LIT:1><EOL>)<EOL>different_vararg = (<EOL>sum(<NUM_LIT:1> for param in (original.args.vararg, overridden.args.vararg) if not param)<EOL>== <NUM_LIT:1><EOL>)<EOL>return any(<EOL>(different_positional, different_kwarg, different_vararg, different_kwonly)<EOL>)<EOL>
Determine if the two methods have different parameters

    They are considered to have different parameters if:

       * they have different positional parameters, including different names

       * one of the methods is having variadics, while the other is not

       * they have different keyword only parameters.