def iterator(self):
while True:<EOL><INDENT>try:<EOL><INDENT>yield self.iterate(False)<EOL><DEDENT>except StopIteration:<EOL><INDENT>return<EOL><DEDENT><DEDENT>
Efficient one-pass iteration over the result set.