def make_fset(name, var_name):
    """Make a setter for `property()`'s `fset` param for property name
    and internal variable name

    Args:
        name (str): property name
        var_name (str): internal variable name

    Returns:
        function: A setter function
    """
    def fset(self, value):
        setattr(self, var_name, value)
    return fset