<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iteritems(self):
 """ Iterates over all mappings Yields ------ (int,Mapping) The next pair (index, mapping) """

        for m in self.mappings:
            yield self.indexes[m.clause][m.target], m