<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iterable_hook(self, name, iterable):
 """ Fire an event named ``name`` with each item in iterable """

        for record in iterable:
            self(name, record)
            yield record