def iterator(self, *argv):
for arg in argv:<EOL><INDENT>if hasattr(self, arg):<EOL><INDENT>for item in getattr(self, arg):<EOL><INDENT>yield item<EOL><DEDENT><DEDENT><DEDENT>
Iterator returning any list of elements via attribute lookup in `self`

        This iterator retains the order of the arguments