human
I wrote the below code

    def Inner(*args, **kwargs):
        chart = chart_class(*args, **kwargs)
        chart.display = display_class(chart)
        return chart
    return Inner

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def _GetChartFactory(chart_class, display_class):