def docstring_parameter(*args, **kwargs):
    """
    A decorator that overrides the docstring of a method.

    :param args: any args passed to the function
    :param kwargs: any kwargs passed to the function
    :return: function
    """
    def decor(func):
        func.__doc__ = func.__doc__.format(*args, **kwargs)
        return func
    return decor