<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iter_sources(self):
 """Iterates over all source names and IDs."""

        for src_id in xrange(self.get_source_count()):
            yield src_id, self.get_source_name(src_id)