human
I wrote the below code

    min_interval = (1.0 / float(max_per_second))
    last_time_called = [0.0]
    def throttler():
        elapsed = (time.clock() - last_time_called[0])
        left_to_wait = (min_interval - elapsed)
        if (left_to_wait > 0):
            time.sleep(left_to_wait)
        last_time_called[0] = time.clock()
    return throttler

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

def rate_limiter(max_per_second):